diff options
author | Nathan Binkert <binkertn@umich.edu> | 2004-05-21 13:03:17 -0400 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2004-05-21 13:03:17 -0400 |
commit | b4405682d9f0d7bd01ff461a7e457f8dbbfff1a0 (patch) | |
tree | 95047a24c7b3a0be93afb2a723f13abd07666745 /sim/stat_control.cc | |
parent | 47604c8c89539df9aa27b7ba5c4523f27a8ec243 (diff) | |
download | gem5-b4405682d9f0d7bd01ff461a7e457f8dbbfff1a0.tar.xz |
Change the namespace Statistics to Stats
--HG--
extra : convert_revision : 3084b292bbe2e8a392af8e99a31763ca0b0a9467
Diffstat (limited to 'sim/stat_control.cc')
-rw-r--r-- | sim/stat_control.cc | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/sim/stat_control.cc b/sim/stat_control.cc index c7d2fdd5b..28ee348b5 100644 --- a/sim/stat_control.cc +++ b/sim/stat_control.cc @@ -47,17 +47,17 @@ using namespace std; -Statistics::Formula hostInstRate; -Statistics::Formula hostTickRate; -Statistics::Value hostMemory; -Statistics::Value hostSeconds; +Stats::Formula hostInstRate; +Stats::Formula hostTickRate; +Stats::Value hostMemory; +Stats::Value hostSeconds; -Statistics::Value simTicks; -Statistics::Value simInsts; -Statistics::Value simFreq; -Statistics::Formula simSeconds; +Stats::Value simTicks; +Stats::Value simInsts; +Stats::Value simFreq; +Stats::Formula simSeconds; -namespace Statistics { +namespace Stats { Time statTime(true); Tick startTick; @@ -173,10 +173,10 @@ StatEvent::description() void StatEvent::process() { - if (flags & Statistics::Dump) + if (flags & Stats::Dump) DumpNow(); - if (flags & Statistics::Reset) + if (flags & Stats::Reset) reset(); if (repeat) @@ -205,11 +205,11 @@ SetupEvent(int flags, Tick when, Tick repeat) new StatEvent(flags, when, repeat); } -/* namespace Statistics */ } +/* namespace Stats */ } extern "C" void debugDumpStats() { - Statistics::DumpNow(); + Stats::DumpNow(); } |