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.
This commit is contained in:
Radhika Jagtap 2014-08-10 05:39:40 -04:00
parent 2ee47fc8d1
commit 860f00228b

View file

@ -139,7 +139,8 @@ for scale in treespec[:-2]:
prev = prototypes[0] prev = prototypes[0]
next = prev() next = prev()
next.size = prev.size * scale 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.assoc = prev.assoc * scale
next.mshrs = prev.mshrs * scale next.mshrs = prev.mshrs * scale
prototypes.insert(0, next) prototypes.insert(0, next)