summaryrefslogtreecommitdiff
path: root/src/mem/ruby/profiler/CacheProfiler.hh
diff options
context:
space:
mode:
authorDerek Hower <drh5@cs.wisc.edu>2009-07-20 09:40:43 -0500
committerDerek Hower <drh5@cs.wisc.edu>2009-07-20 09:40:43 -0500
commite59d0e3e89f46f35065ab318c8578941203cc657 (patch)
tree73dc7c9e8bd34c71712628326b4c9de69d4658c1 /src/mem/ruby/profiler/CacheProfiler.hh
parent308419b947b46f065b7e539040a1a2ef89be6480 (diff)
downloadgem5-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.hh4
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: