diff options
author | Derek Hower <drh5@cs.wisc.edu> | 2009-07-20 09:40:43 -0500 |
---|---|---|
committer | Derek Hower <drh5@cs.wisc.edu> | 2009-07-20 09:40:43 -0500 |
commit | e59d0e3e89f46f35065ab318c8578941203cc657 (patch) | |
tree | 73dc7c9e8bd34c71712628326b4c9de69d4658c1 /src/mem/ruby/profiler/CacheProfiler.hh | |
parent | 308419b947b46f065b7e539040a1a2ef89be6480 (diff) | |
download | gem5-e59d0e3e89f46f35065ab318c8578941203cc657.tar.xz |
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.
Diffstat (limited to 'src/mem/ruby/profiler/CacheProfiler.hh')
-rw-r--r-- | src/mem/ruby/profiler/CacheProfiler.hh | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mem/ruby/profiler/CacheProfiler.hh b/src/mem/ruby/profiler/CacheProfiler.hh index 00beeb484..6d7c163cb 100644 --- a/src/mem/ruby/profiler/CacheProfiler.hh +++ b/src/mem/ruby/profiler/CacheProfiler.hh @@ -44,7 +44,7 @@ #include "mem/ruby/common/Histogram.hh" #include "mem/protocol/AccessModeType.hh" #include "mem/protocol/PrefetchBit.hh" -#include "mem/protocol/GenericRequestType.hh" +#include "mem/protocol/CacheRequestType.hh" template <class TYPE> class Vector; @@ -60,7 +60,7 @@ public: void printStats(ostream& out) const; void clearStats(); - void addStatSample(GenericRequestType requestType, AccessModeType type, int msgSize, PrefetchBit pfBit); + void addStatSample(CacheRequestType requestType, AccessModeType type, int msgSize, PrefetchBit pfBit); void print(ostream& out) const; private: |