gem5
|
Currently unused stats class. More...
#include <stats.hh>
Public Member Functions | |
MinorStats () | |
void | regStats (const std::string &name, BaseCPU &baseCpu) |
Public Attributes | |
Stats::Scalar | numInsts |
Number of simulated instructions. More... | |
Stats::Scalar | numOps |
Number of simulated insts and microops. More... | |
Stats::Scalar | numDiscardedOps |
Number of ops discarded before committing. More... | |
Stats::Scalar | numFetchSuspends |
Number of times fetch was asked to suspend by Execute. More... | |
Stats::Scalar | quiesceCycles |
Number of cycles in quiescent state. More... | |
Stats::Formula | cpi |
CPI/IPC for total cycle counts and macro insts. More... | |
Stats::Formula | ipc |
Stats::Vector2d | committedInstType |
Number of instructions by type (OpClass) More... | |
void Minor::MinorStats::regStats | ( | const std::string & | name, |
BaseCPU & | baseCpu | ||
) |
Definition at line 49 of file stats.cc.
References committedInstType, cpi, Stats::DataWrap< Derived, InfoProxyType >::desc(), Stats::dist, Stats::DataWrap< Derived, InfoProxyType >::flags(), Stats::Vector2dBase< Derived, Stor >::init(), ipc, Stats::DataWrap< Derived, InfoProxyType >::name(), numDiscardedOps, numFetchSuspends, numInsts, numOps, Stats::pdf, Stats::DataWrap< Derived, InfoProxyType >::precision(), Stats::DataWrap< Derived, InfoProxyType >::prereq(), quiesceCycles, Stats::total, and Stats::DataWrapVec2d< Derived, InfoProxyType >::ysubnames().
Referenced by MinorCPU::regStats().
Stats::Vector2d Minor::MinorStats::committedInstType |
Number of instructions by type (OpClass)
Definition at line 80 of file stats.hh.
Referenced by Minor::Execute::doInstCommitAccounting(), and regStats().
Stats::Formula Minor::MinorStats::cpi |
CPI/IPC for total cycle counts and macro insts.
Definition at line 76 of file stats.hh.
Referenced by regStats().
Stats::Formula Minor::MinorStats::ipc |
Definition at line 77 of file stats.hh.
Referenced by regStats().
Stats::Scalar Minor::MinorStats::numDiscardedOps |
Number of ops discarded before committing.
Definition at line 67 of file stats.hh.
Referenced by Minor::Execute::commit(), and regStats().
Stats::Scalar Minor::MinorStats::numFetchSuspends |
Number of times fetch was asked to suspend by Execute.
Definition at line 70 of file stats.hh.
Referenced by Minor::Execute::commitInst(), and regStats().
Stats::Scalar Minor::MinorStats::numInsts |
Number of simulated instructions.
Definition at line 61 of file stats.hh.
Referenced by Minor::Execute::doInstCommitAccounting(), and regStats().
Stats::Scalar Minor::MinorStats::numOps |
Number of simulated insts and microops.
Definition at line 64 of file stats.hh.
Referenced by Minor::Execute::doInstCommitAccounting(), and regStats().
Stats::Scalar Minor::MinorStats::quiesceCycles |
Number of cycles in quiescent state.
Definition at line 73 of file stats.hh.
Referenced by MinorCPU::activateContext(), and regStats().