summaryrefslogtreecommitdiff
path: root/src/mem/ruby/system/CacheMemory.hh
diff options
context:
space:
mode:
authorDerek Hower <drh5@cs.wisc.edu>2009-08-03 11:39:08 -0500
committerDerek Hower <drh5@cs.wisc.edu>2009-08-03 11:39:08 -0500
commitac15e42c1782f39882ab47745ed690b7d30b1f86 (patch)
tree20f05d39bdf701cdd2ca0b020388687d7526a42c /src/mem/ruby/system/CacheMemory.hh
parent38c2af17a557e5b7420a2ad15b13316acbde588d (diff)
parent8623b4b6ea12a576634431632d02bcba200ca704 (diff)
downloadgem5-ac15e42c1782f39882ab47745ed690b7d30b1f86.tar.xz
Automated merge with ssh://hg@m5sim.org/m5
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
{