thread->numOp++;
thread->numOps++;
cpu.stats.numOps++;
+ cpu.stats.committedInstType[inst->id.threadId]
+ [inst->staticInst->opClass()]++;
/* Set the CP SeqNum to the numOps commit number */
if (inst->traceData)
.desc("IPC: instructions per cycle")
.precision(6);
ipc = numInsts / baseCpu.numCycles;
+
+ committedInstType
+ .init(baseCpu.numThreads, Enums::Num_OpClass)
+ .name(name + ".op_class")
+ .desc("Class of committed instruction")
+ .flags(Stats::total | Stats::pdf | Stats::dist);
+ committedInstType.ysubnames(Enums::OpClassStrings);
}
};