|
gem5
v22.1.0.0
|
Currently unused stats class. More...
#include <stats.hh>
Public Member Functions | |
| MinorStats (BaseCPU *parent) | |
Public Member Functions inherited from gem5::statistics::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 (statistics::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 | |
| statistics::Scalar | numInsts |
| Number of simulated instructions. More... | |
| statistics::Scalar | numOps |
| Number of simulated insts and microops. More... | |
| statistics::Scalar | numDiscardedOps |
| Number of ops discarded before committing. More... | |
| statistics::Scalar | numFetchSuspends |
| Number of times fetch was asked to suspend by Execute. More... | |
| statistics::Scalar | quiesceCycles |
| Number of cycles in quiescent state. More... | |
| statistics::Formula | cpi |
| CPI/IPC for total cycle counts and macro insts. More... | |
| statistics::Formula | ipc |
| statistics::Vector2d | committedInstType |
| Number of instructions by type (OpClass) More... | |
| statistics::Vector2d | committedControl |
| Number of branches commited. More... | |
| gem5::minor::MinorStats::MinorStats | ( | BaseCPU * | parent | ) |
Definition at line 47 of file stats.cc.
References gem5::BaseCPU::baseStats, committedControl, committedInstType, cpi, gem5::statistics::dist, gem5::statistics::DataWrap< Derived, InfoProxyType >::flags(), gem5::statistics::Vector2dBase< Derived, Stor >::init(), ipc, gem5::statistics::nozero, gem5::BaseCPU::BaseCPUStats::numCycles, numInsts, gem5::BaseCPU::numThreads, gem5::statistics::pdf, gem5::statistics::DataWrap< Derived, InfoProxyType >::precision(), gem5::statistics::DataWrap< Derived, InfoProxyType >::prereq(), quiesceCycles, gem5::statistics::total, and gem5::statistics::DataWrapVec2d< Derived, InfoProxyType >::ysubnames().
| statistics::Vector2d gem5::minor::MinorStats::committedControl |
Number of branches commited.
Definition at line 86 of file stats.hh.
Referenced by gem5::minor::Execute::doInstCommitAccounting(), and MinorStats().
| statistics::Vector2d gem5::minor::MinorStats::committedInstType |
Number of instructions by type (OpClass)
Definition at line 83 of file stats.hh.
Referenced by gem5::minor::Execute::doInstCommitAccounting(), and MinorStats().
| statistics::Formula gem5::minor::MinorStats::cpi |
CPI/IPC for total cycle counts and macro insts.
Definition at line 79 of file stats.hh.
Referenced by MinorStats().
| statistics::Formula gem5::minor::MinorStats::ipc |
Definition at line 80 of file stats.hh.
Referenced by MinorStats().
| statistics::Scalar gem5::minor::MinorStats::numDiscardedOps |
Number of ops discarded before committing.
Definition at line 70 of file stats.hh.
Referenced by gem5::minor::Execute::commit().
| statistics::Scalar gem5::minor::MinorStats::numFetchSuspends |
Number of times fetch was asked to suspend by Execute.
Definition at line 73 of file stats.hh.
Referenced by gem5::minor::Execute::commitInst().
| statistics::Scalar gem5::minor::MinorStats::numInsts |
Number of simulated instructions.
Definition at line 64 of file stats.hh.
Referenced by gem5::minor::Execute::doInstCommitAccounting(), and MinorStats().
| statistics::Scalar gem5::minor::MinorStats::numOps |
Number of simulated insts and microops.
Definition at line 67 of file stats.hh.
Referenced by gem5::minor::Execute::doInstCommitAccounting().
| statistics::Scalar gem5::minor::MinorStats::quiesceCycles |
Number of cycles in quiescent state.
Definition at line 76 of file stats.hh.
Referenced by gem5::MinorCPU::activateContext(), and MinorStats().