rename namespace Statistics to Stats

--HG--
extra : convert_revision : 28f1703f8d7d8cf33fb952ae450f66bdba860fb7
This commit is contained in:
Nathan Binkert
2004-05-21 13:39:20 -04:00
parent f5c7b1358c
commit 62d756f253
39 changed files with 146 additions and 146 deletions

View File

@@ -254,7 +254,7 @@ SimpleCPU::haltContext(int thread_num)
void
SimpleCPU::regStats()
{
using namespace Statistics;
using namespace Stats;
BaseCPU::regStats();

View File

@@ -209,7 +209,7 @@ class SimpleCPU : public BaseCPU
// number of simulated instructions
Counter numInst;
Counter startNumInst;
Statistics::Scalar<> numInsts;
Stats::Scalar<> numInsts;
virtual Counter totalInstructions() const
{
@@ -217,22 +217,22 @@ class SimpleCPU : public BaseCPU
}
// number of simulated memory references
Statistics::Scalar<> numMemRefs;
Stats::Scalar<> numMemRefs;
// number of simulated loads
Counter numLoad;
Counter startNumLoad;
// number of idle cycles
Statistics::Average<> notIdleFraction;
Statistics::Formula idleFraction;
Stats::Average<> notIdleFraction;
Stats::Formula idleFraction;
// number of cycles stalled for I-cache misses
Statistics::Scalar<> icacheStallCycles;
Stats::Scalar<> icacheStallCycles;
Counter lastIcacheStall;
// number of cycles stalled for D-cache misses
Statistics::Scalar<> dcacheStallCycles;
Stats::Scalar<> dcacheStallCycles;
Counter lastDcacheStall;
void processCacheCompletion();