projects
/
gem5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ee47fc
)
config: Fix cache latency param in mem test
author
Radhika Jagtap
<radhika.jagtap@ARM.com>
Sun, 10 Aug 2014 09:39:40 +0000
(
05:39
-0400)
committer
Radhika Jagtap
<radhika.jagtap@ARM.com>
Sun, 10 Aug 2014 09:39:40 +0000
(
05:39
-0400)
This patch fixes the cache latency in mem test which is split into two params,
hit and response latency as per BaseCache.
configs/example/memtest.py
patch
|
blob
|
history
diff --git
a/configs/example/memtest.py
b/configs/example/memtest.py
index 13385b61f6bab4fd44de4fe44aff515b07fc78b0..feeffa76401498b3612ae5b4fce1c7ab6eac09b0 100644
(file)
--- a/
configs/example/memtest.py
+++ b/
configs/example/memtest.py
@@
-139,7
+139,8
@@
for scale in treespec[:-2]:
prev = prototypes[0]
next = prev()
next.size = prev.size * scale
- next.latency = prev.latency * 10
+ next.hit_latency = prev.hit_latency * 10
+ next.response_latency = prev.response_latency * 10
next.assoc = prev.assoc * scale
next.mshrs = prev.mshrs * scale
prototypes.insert(0, next)