52 .
name(name +
".committedInsts")
53 .
desc(
"Number of instructions committed");
56 .
name(name +
".committedOps")
57 .
desc(
"Number of ops (including micro ops) committed");
60 .
name(name +
".discardedOps")
61 .
desc(
"Number of ops (including micro ops) which were discarded "
65 .
name(name +
".numFetchSuspends")
66 .
desc(
"Number of times Execute suspended instruction fetching");
69 .
name(name +
".quiesceCycles")
70 .
desc(
"Total number of cycles that CPU has spent quiesced or waiting "
76 .
desc(
"CPI: cycles per instruction")
82 .
desc(
"IPC: instructions per cycle")
87 .
init(baseCpu.numThreads, Enums::Num_OpClass)
88 .
name(name +
".op_class")
89 .
desc(
"Class of committed instruction")
const FlagsType pdf
Print the percent of the total that this entry represents.
void regStats(const std::string &name, BaseCPU &baseCpu)
Derived & init(size_type _x, size_type _y)
Stats::Scalar quiesceCycles
Number of cycles in quiescent state.
The stats for MinorCPU separated from the CPU definition.
const std::string & name()
Stats::Scalar numOps
Number of simulated insts and microops.
Derived & flags(Flags _flags)
Set the flags and marks this stat to print at the end of simulation.
Stats::Formula cpi
CPI/IPC for total cycle counts and macro insts.
Stats::Scalar numFetchSuspends
Number of times fetch was asked to suspend by Execute.
Stats::Scalar numInsts
Number of simulated instructions.
Derived & prereq(const Stat &prereq)
Set the prerequisite stat and marks this stat to print at the end of simulation.
Derived & precision(int _precision)
Set the precision and marks this stat to print at the end of simulation.
const FlagsType total
Print the total.
Stats::Scalar numDiscardedOps
Number of ops discarded before committing.
Derived & name(const std::string &name)
Set the name and marks this stat to print at the end of simulation.
Stats::Vector2d committedInstType
Number of instructions by type (OpClass)
Derived & desc(const std::string &_desc)
Set the description and marks this stat to print at the end of simulation.
Derived & ysubnames(const char **names)
const FlagsType dist
Print the distribution.