mem: fix cache stats to use request ids correctly
authorDam Sunwoo <dam.sunwoo@arm.com>
Sun, 12 Feb 2012 22:07:39 +0000 (16:07 -0600)
committerDam Sunwoo <dam.sunwoo@arm.com>
Sun, 12 Feb 2012 22:07:39 +0000 (16:07 -0600)
commit230540e655efd09ad057e7fde2ac257f355c06d1
tree4555eeff33db9ac5c2f3a1b210627cef4b81d4ad
parent8aaa39e93dfe000ad423b585e78a4c2ee7418363
mem: fix cache stats to use request ids correctly

This patch fixes the cache stats to use the new request ids.
Cache stats also display the requestor names in the vector subnames.
Most cache stats now include "nozero" and "nonan" flags to reduce the
amount of excessive cache stat dump. Also, simplified
incMissCount()/incHitCount() functions.
18 files changed:
src/mem/cache/BaseCache.py
src/mem/cache/base.cc
src/mem/cache/base.hh
src/mem/cache/blk.hh
src/mem/cache/cache_impl.hh
src/mem/cache/tags/base.cc
src/mem/cache/tags/base.hh
src/mem/cache/tags/lru.cc
src/mem/request.hh
tests/configs/memtest.py
tests/configs/o3-timing-mp.py
tests/configs/realview-o3-dual.py
tests/configs/realview-simple-timing-dual.py
tests/configs/simple-atomic-mp.py
tests/configs/simple-timing-mp.py
tests/configs/tsunami-o3-dual.py
tests/configs/tsunami-simple-atomic-dual.py
tests/configs/tsunami-simple-timing-dual.py