From 82fb350f9a1d1e49c7affc6f6b5968a36f77c902 Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Sun, 18 Apr 2010 13:23:25 -0700 Subject: stats: make simTicks and simFreq accessible from stats.hh --- src/sim/stat_control.cc | 4 ++-- src/sim/stats.hh | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) (limited to 'src/sim') diff --git a/src/sim/stat_control.cc b/src/sim/stat_control.cc index e8c2d5814..373a3f297 100644 --- a/src/sim/stat_control.cc +++ b/src/sim/stat_control.cc @@ -45,6 +45,8 @@ using namespace std; Stats::Formula simSeconds; +Stats::Value simTicks; +Stats::Value simFreq; namespace Stats { @@ -83,9 +85,7 @@ struct Global Stats::Value hostMemory; Stats::Value hostSeconds; - Stats::Value simTicks; Stats::Value simInsts; - Stats::Value simFreq; Global(); }; diff --git a/src/sim/stats.hh b/src/sim/stats.hh index 481c36cf6..eae466644 100644 --- a/src/sim/stats.hh +++ b/src/sim/stats.hh @@ -34,5 +34,7 @@ #include "base/statistics.hh" extern Stats::Formula simSeconds; +extern Stats::Value simTicks; +extern Stats::Value simFreq; #endif // __SIM_SIM_STATS_HH__ -- cgit v1.2.3