diff options
author | Derek Hower <drh5@cs.wisc.edu> | 2009-08-03 11:39:08 -0500 |
---|---|---|
committer | Derek Hower <drh5@cs.wisc.edu> | 2009-08-03 11:39:08 -0500 |
commit | ac15e42c1782f39882ab47745ed690b7d30b1f86 (patch) | |
tree | 20f05d39bdf701cdd2ca0b020388687d7526a42c /src/mem/ruby/system/CacheMemory.hh | |
parent | 38c2af17a557e5b7420a2ad15b13316acbde588d (diff) | |
parent | 8623b4b6ea12a576634431632d02bcba200ca704 (diff) | |
download | gem5-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.hh | 6 |
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 { |