mem: per-thread cache occupancy and per-block ages
authorDam Sunwoo <dam.sunwoo@arm.com>
Fri, 24 Jan 2014 21:29:30 +0000 (15:29 -0600)
committerDam Sunwoo <dam.sunwoo@arm.com>
Fri, 24 Jan 2014 21:29:30 +0000 (15:29 -0600)
commit85e8779de78ed913bb6d2a794bee5252d719b0e5
tree8ebd9519b4a6b0590c4d675061a0d1d4b43a1928
parent739c6df94ea0030fea04065e6b8d8a1e232752a0
mem: per-thread cache occupancy and per-block ages

This patch enables tracking of cache occupancy per thread along with
ages (in buckets) per cache blocks.  Cache occupancy stats are
recalculated on each stat dump.
15 files changed:
src/arch/arm/table_walker.cc
src/arch/arm/tlb.cc
src/cpu/base_dyn_inst.hh
src/cpu/o3/fetch_impl.hh
src/cpu/simple/atomic.cc
src/cpu/simple/timing.cc
src/dev/dma_device.cc
src/mem/cache/blk.hh
src/mem/cache/cache_impl.hh
src/mem/cache/prefetch/base.cc
src/mem/cache/tags/base.cc
src/mem/cache/tags/base.hh
src/mem/cache/tags/lru.cc
src/mem/cache/tags/lru.hh
src/mem/request.hh