|
gem5
v21.0.1.0
|
Currently unused stats class. More...
#include <stats.hh>
Public Member Functions | |
| MinorStats (BaseCPU *parent) | |
Public Member Functions inherited from Stats::Group | |
| Group (Group *parent, const char *name=nullptr) | |
| Construct a new statistics group. More... | |
| virtual | ~Group () |
| virtual void | regStats () |
| Callback to set stat parameters. More... | |
| virtual void | resetStats () |
| Callback to reset stats. More... | |
| virtual void | preDumpStats () |
| Callback before stats are dumped. More... | |
| void | addStat (Stats::Info *info) |
| Register a stat with this group. More... | |
| const std::map< std::string, Group * > & | getStatGroups () const |
| Get all child groups associated with this object. More... | |
| const std::vector< Info * > & | getStats () const |
| Get all stats associated with this object. More... | |
| void | addStatGroup (const char *name, Group *block) |
| Add a stat block as a child of this block. More... | |
| const Info * | resolveStat (std::string name) const |
| Resolve a stat by its name within this group. More... | |
| void | mergeStatGroup (Group *block) |
| Merge the contents (stats & children) of a block to this block. More... | |
| Group ()=delete | |
| Group (const Group &)=delete | |
| Group & | operator= (const Group &)=delete |
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... | |
| Minor::MinorStats::MinorStats | ( | BaseCPU * | parent | ) |
Definition at line 43 of file stats.cc.
References BaseCPU::baseStats, committedInstType, cpi, Stats::dist, Stats::DataWrap< Derived, InfoProxyType >::flags(), Stats::Vector2dBase< Derived, Stor >::init(), ipc, BaseCPU::BaseCPUStats::numCycles, numInsts, BaseCPU::numThreads, Stats::pdf, Stats::DataWrap< Derived, InfoProxyType >::precision(), Stats::DataWrap< Derived, InfoProxyType >::prereq(), quiesceCycles, Stats::total, and Stats::DataWrapVec2d< Derived, InfoProxyType >::ysubnames().
| Stats::Vector2d Minor::MinorStats::committedInstType |
Number of instructions by type (OpClass)
Definition at line 79 of file stats.hh.
Referenced by Minor::Execute::doInstCommitAccounting(), and MinorStats().
| Stats::Formula Minor::MinorStats::cpi |
CPI/IPC for total cycle counts and macro insts.
Definition at line 75 of file stats.hh.
Referenced by MinorStats().
| Stats::Formula Minor::MinorStats::ipc |
Definition at line 76 of file stats.hh.
Referenced by MinorStats().
| Stats::Scalar Minor::MinorStats::numDiscardedOps |
Number of ops discarded before committing.
Definition at line 66 of file stats.hh.
Referenced by Minor::Execute::commit().
| Stats::Scalar Minor::MinorStats::numFetchSuspends |
Number of times fetch was asked to suspend by Execute.
Definition at line 69 of file stats.hh.
Referenced by Minor::Execute::commitInst().
| Stats::Scalar Minor::MinorStats::numInsts |
Number of simulated instructions.
Definition at line 60 of file stats.hh.
Referenced by Minor::Execute::doInstCommitAccounting(), and MinorStats().
| Stats::Scalar Minor::MinorStats::numOps |
Number of simulated insts and microops.
Definition at line 63 of file stats.hh.
Referenced by Minor::Execute::doInstCommitAccounting().
| Stats::Scalar Minor::MinorStats::quiesceCycles |
Number of cycles in quiescent state.
Definition at line 72 of file stats.hh.
Referenced by MinorCPU::activateContext(), and MinorStats().