diff options
author | Nathan Binkert <nate@binkert.org> | 2010-04-18 13:23:25 -0700 |
---|---|---|
committer | Nathan Binkert <nate@binkert.org> | 2010-04-18 13:23:25 -0700 |
commit | 82fb350f9a1d1e49c7affc6f6b5968a36f77c902 (patch) | |
tree | 6d7be4412b8b9fc233f40c1d046036d8d201bb3a /src/sim/stat_control.cc | |
parent | 50bf3895b048a35884128662149dfb642d153670 (diff) | |
download | gem5-82fb350f9a1d1e49c7affc6f6b5968a36f77c902.tar.xz |
stats: make simTicks and simFreq accessible from stats.hh
Diffstat (limited to 'src/sim/stat_control.cc')
-rw-r--r-- | src/sim/stat_control.cc | 4 |
1 files changed, 2 insertions, 2 deletions
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(); }; |