config: Fix cache latency param in mem test
authorRadhika Jagtap <radhika.jagtap@ARM.com>
Sun, 10 Aug 2014 09:39:40 +0000 (05:39 -0400)
committerRadhika 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

index 13385b61f6bab4fd44de4fe44aff515b07fc78b0..feeffa76401498b3612ae5b4fce1c7ab6eac09b0 100644 (file)
@@ -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)