changeset 08c34d3fb19d in /z/repo/m5
details: http://repo.m5sim.org/m5?cmd=changeset;node=08c34d3fb19d
description:
stats: make simTicks and simFreq accessible from stats.hh
diffstat:
2 files changed, 4 insertions(+), 2 deletions(-)
src/sim/stat_control.cc | 4 ++--
src/sim/stats.hh | 2 ++
diffs (33 lines):
diff -r 8832fe9b5a57 -r 08c34d3fb19d src/sim/stat_control.cc
--- a/src/sim/stat_control.cc Sun Apr 18 13:23:25 2010 -0700
+++ b/src/sim/stat_control.cc Sun Apr 18 13:23:25 2010 -0700
@@ -45,6 +45,8 @@
using namespace std;
Stats::Formula simSeconds;
+Stats::Value simTicks;
+Stats::Value simFreq;
namespace Stats {
@@ -83,9 +85,7 @@
Stats::Value hostMemory;
Stats::Value hostSeconds;
- Stats::Value simTicks;
Stats::Value simInsts;
- Stats::Value simFreq;
Global();
};
diff -r 8832fe9b5a57 -r 08c34d3fb19d src/sim/stats.hh
--- a/src/sim/stats.hh Sun Apr 18 13:23:25 2010 -0700
+++ b/src/sim/stats.hh Sun Apr 18 13:23:25 2010 -0700
@@ -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__
_______________________________________________
m5-dev mailing list
[email protected]
http://m5sim.org/mailman/listinfo/m5-dev