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/system.cc | |
parent | 47604c8c89539df9aa27b7ba5c4523f27a8ec243 (diff) | |
download | gem5-b4405682d9f0d7bd01ff461a7e457f8dbbfff1a0.tar.xz |
Change the namespace Statistics to Stats
--HG--
extra : convert_revision : 3084b292bbe2e8a392af8e99a31763ca0b0a9467
Diffstat (limited to 'sim/system.cc')
-rw-r--r-- | sim/system.cc | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sim/system.cc b/sim/system.cc index 791a092ac..619593abd 100644 --- a/sim/system.cc +++ b/sim/system.cc @@ -55,19 +55,19 @@ System::System(const std::string _name, // add self to global system list systemList.push_back(this); if (bin == true) { - Kernel = new Statistics::MainBin("non TCPIP Kernel stats"); + Kernel = new Stats::MainBin("non TCPIP Kernel stats"); Kernel->activate(); - User = new Statistics::MainBin("User stats"); + User = new Stats::MainBin("User stats"); int end = binned_fns.size(); assert(!(end & 1)); - Statistics::MainBin *Bin; + Stats::MainBin *Bin; fnEvents.resize(end>>1); for (int i = 0; i < end; i +=2) { - Bin = new Statistics::MainBin(binned_fns[i]); + Bin = new Stats::MainBin(binned_fns[i]); fnBins.insert(make_pair(binned_fns[i], Bin)); fnEvents[(i>>1)] = new FnEvent(&pcEventQueue, binned_fns[i], this); @@ -178,10 +178,10 @@ System::dumpState(ExecContext *xc) const } } -Statistics::MainBin * +Stats::MainBin * System::getBin(const std::string &name) { - std::map<const std::string, Statistics::MainBin *>::const_iterator i; + std::map<const std::string, Stats::MainBin *>::const_iterator i; i = fnBins.find(name); if (i == fnBins.end()) panic("trying to getBin %s that is not on system map!", name); |