baseStats.numCycles += simCyclesExecuted;;
stats.committedInsts += instsExecuted;
ctrInsts += instsExecuted;
- system->totalNumInsts += instsExecuted;
DPRINTF(KvmRun,
"KVM: Executed %i instructions in %i cycles "
thread->numInst++;
thread->threadStats.numInsts++;
cpu.stats.numInsts++;
- cpu.system->totalNumInsts++;
/* Act on events related to instruction counts */
thread->comInstEventQueue.serviceEvents(thread->numInst);
thread[tid]->numInst++;
thread[tid]->threadStats.numInsts++;
cpuStats.committedInsts[tid]++;
- system->totalNumInsts++;
// Check for instruction-count-based events.
thread[tid]->comInstEventQueue.serviceEvents(thread[tid]->numInst);
t_info.numInst++;
t_info.execContextStats.numInsts++;
- system->totalNumInsts++;
t_info.thread->funcExeInst++;
}
t_info.numOp++;
// Reschedule any power gating event (if any)
schedulePowerGatingEvent();
-
- system->totalNumInsts = 0;
}
bool
_m5opRange(p.m5ops_base ?
RangeSize(p.m5ops_base, 0x10000) :
AddrRange(1, 0)), // Create an empty range if disabled
- totalNumInsts(0),
redirectPaths(p.redirect_paths)
{
if (workload)
return deviceMemMap.at(id);
}
-void
-System::drainResume()
-{
- totalNumInsts = 0;
-}
-
void
System::serialize(CheckpointOut &cp) const
{
void serialize(CheckpointOut &cp) const override;
void unserialize(CheckpointIn &cp) override;
- void drainResume() override;
-
public:
- Counter totalNumInsts;
std::map<std::pair<uint32_t,uint32_t>, Tick> lastWorkItemStarted;
std::map<uint32_t, Stats::Histogram*> workItemStats;