48 : statistics::
Group(base_cpu),
50 "Number of instructions committed"),
52 "Number of ops (including micro ops) committed"),
54 "Number of ops (including micro ops) which were discarded before "
57 "Number of times Execute suspended instruction fetching"),
59 "Total number of cycles that CPU has spent quiesced or waiting "
61 ADD_STAT(cpi, statistics::units::Rate<
62 statistics::units::Cycle, statistics::units::
Count>::get(),
63 "CPI: cycles per instruction"),
64 ADD_STAT(ipc, statistics::units::Rate<
65 statistics::units::
Count, statistics::units::Cycle>::get(),
66 "IPC: instructions per cycle"),
68 "Class of committed instruction"),
70 "Class of control type instructions committed")
gem5::BaseCPU::BaseCPUStats baseStats
ThreadID numThreads
Number of threads we're actually simulating (<= SMT_MAX_THREADS).
Derived & ysubnames(const char **names)
Derived & flags(Flags _flags)
Set the flags and marks this stat to print at the end of simulation.
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.
Derived & init(size_type _x, size_type _y)
The stats for MinorCPU separated from the CPU definition.
#define ADD_STAT(n,...)
Convenience macro to add a stat to a statistics group.
void quiesceCycles(ThreadContext *tc, uint64_t cycles)
const FlagsType pdf
Print the percent of the total that this entry represents.
const FlagsType nozero
Don't print if this is zero.
const FlagsType total
Print the total.
const FlagsType dist
Print the distribution.
Reference material can be found at the JEDEC website: UFS standard http://www.jedec....
GEM5_DEPRECATED_NAMESPACE(GuestABI, guest_abi)
Minor contains all the definitions within the MinorCPU apart from the CPU class itself.
statistics::Scalar numCycles
statistics::Vector2d committedControl
Number of branches commited.
MinorStats(BaseCPU *parent)
statistics::Vector2d committedInstType
Number of instructions by type (OpClass)
statistics::Scalar quiesceCycles
Number of cycles in quiescent state.
statistics::Formula cpi
CPI/IPC for total cycle counts and macro insts.
statistics::Scalar numInsts
Number of simulated instructions.