summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRadhika Jagtap <radhika.jagtap@ARM.com>2014-08-10 05:39:40 -0400
committerRadhika Jagtap <radhika.jagtap@ARM.com>2014-08-10 05:39:40 -0400
commit860f00228be0181a7dcb1b32802401da05edae03 (patch)
tree1b942ae7e9e9b6a3803507bbc24e0c0550355768
parent2ee47fc8d1e3c6089e3e358603dadca913a4527c (diff)
downloadgem5-860f00228be0181a7dcb1b32802401da05edae03.tar.xz
config: Fix cache latency param in mem test
This patch fixes the cache latency in mem test which is split into two params, hit and response latency as per BaseCache.
-rw-r--r--configs/example/memtest.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/configs/example/memtest.py b/configs/example/memtest.py
index 13385b61f..feeffa764 100644
--- 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)