Tuesday, March 02, 2010

Chagnes for LibRuby_clear_stats

diff -r 971902a8740e src/mem/ruby/system/System.cc
--- a/src/mem/ruby/system/System.cc Tue Oct 20 15:29:02 2009 -0500
+++ b/src/mem/ruby/system/System.cc Mon Mar 01 20:28:19 2010 -0600
@@ -345,7 +345,7 @@
}
}

-void RubySystem::clearStats() const
+void RubySystem::clearStats()
{
m_profiler_ptr->clearStats();
m_network_ptr->clearStats();
diff -r 971902a8740e src/mem/ruby/system/System.hh
--- a/src/mem/ruby/system/System.hh Tue Oct 20 15:29:02 2009 -0500
+++ b/src/mem/ruby/system/System.hh Mon Mar 01 20:28:19 2010 -0600
@@ -129,7 +129,7 @@
void recordCacheContents(CacheRecorder& tr) const;
static void printConfig(ostream& out);
static void printStats(ostream& out);
- void clearStats() const;
+ static void clearStats() ;

uint64 getInstructionCount(int thread) { return 1; }
static uint64 getCycleCount(int thread) { return g_eventQueue_ptr->getTime(); }

No comments: