summaryrefslogtreecommitdiff
path: root/src/mem/ruby/system/CacheMemory.hh
diff options
context:
space:
mode:
authorDerek Hower <drh5@cs.wisc.edu>2009-07-29 13:46:58 -0500
committerDerek Hower <drh5@cs.wisc.edu>2009-07-29 13:46:58 -0500
commitd9ff3021ba990503acccc9094e00111f087d9a9a (patch)
tree883800c42917f3b84afd4ead0be5d80468b5d537 /src/mem/ruby/system/CacheMemory.hh
parent469256d8239e453cdaa2431a2f879f5187809ef1 (diff)
downloadgem5-d9ff3021ba990503acccc9094e00111f087d9a9a.tar.xz
ruby: fixed clearStats
Diffstat (limited to 'src/mem/ruby/system/CacheMemory.hh')
-rw-r--r--src/mem/ruby/system/CacheMemory.hh6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/mem/ruby/system/CacheMemory.hh b/src/mem/ruby/system/CacheMemory.hh
index cfaa229a5..7a46bd3a5 100644
--- a/src/mem/ruby/system/CacheMemory.hh
+++ b/src/mem/ruby/system/CacheMemory.hh
@@ -127,6 +127,7 @@ public:
void print(ostream& out) const;
void printData(ostream& out) const;
+ void clearStats() const;
void printStats(ostream& out) const;
private:
@@ -561,6 +562,11 @@ void CacheMemory::printData(ostream& out) const
out << "printData() not supported" << endl;
}
+inline void CacheMemory::clearStats() const
+{
+ m_profiler_ptr->clearStats();
+}
+
inline
void CacheMemory::printStats(ostream& out) const
{