ruby: moved cache stats from Profiler to CacheMemory
authorDerek Hower <drh5@cs.wisc.edu>
Mon, 20 Jul 2009 14:40:43 +0000 (09:40 -0500)
committerDerek Hower <drh5@cs.wisc.edu>
Mon, 20 Jul 2009 14:40:43 +0000 (09:40 -0500)
commite59d0e3e89f46f35065ab318c8578941203cc657
tree73dc7c9e8bd34c71712628326b4c9de69d4658c1
parent308419b947b46f065b7e539040a1a2ef89be6480
ruby: moved cache stats from Profiler to CacheMemory

Caches are now responsible for their own statistic gathering.  This
requires a direct callback from the protocol on misses, and so all
future protocols need to take this into account.
12 files changed:
src/mem/protocol/MI_example-cache.sm
src/mem/ruby/profiler/CacheProfiler.cc
src/mem/ruby/profiler/CacheProfiler.hh
src/mem/ruby/profiler/Profiler.cc
src/mem/ruby/profiler/Profiler.hh
src/mem/ruby/slicc_interface/RubySlicc_Profiler_interface.cc
src/mem/ruby/system/CacheMemory.hh
src/mem/ruby/system/System.cc
tests/quick/50.memtest/ref/alpha/linux/memtest-ruby/ruby.stats
tests/quick/50.memtest/ref/alpha/linux/memtest-ruby/simerr
tests/quick/50.memtest/ref/alpha/linux/memtest-ruby/simout
tests/quick/50.memtest/ref/alpha/linux/memtest-ruby/stats.txt