rename namespace Statistics to Stats
--HG-- extra : convert_revision : 28f1703f8d7d8cf33fb952ae450f66bdba860fb7
This commit is contained in:
@@ -254,7 +254,7 @@ SimpleCPU::haltContext(int thread_num)
|
||||
void
|
||||
SimpleCPU::regStats()
|
||||
{
|
||||
using namespace Statistics;
|
||||
using namespace Stats;
|
||||
|
||||
BaseCPU::regStats();
|
||||
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user