gem5
v20.1.0.0
|
Public Member Functions | |
CommitStats (O3CPU *cpu, DefaultCommit *commit) | |
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... | |
Group ()=delete | |
Group (const Group &)=delete | |
Group & | operator= (const Group &)=delete |
Public Attributes | |
Stats::Scalar | commitSquashedInsts |
Stat for the total number of squashed instructions discarded by commit. More... | |
Stats::Scalar | commitNonSpecStalls |
Stat for the total number of times commit has had to stall due to a non-speculative instruction reaching the head of the ROB. More... | |
Stats::Scalar | branchMispredicts |
Stat for the total number of branch mispredicts that caused a squash. More... | |
Stats::Distribution | numCommittedDist |
Distribution of the number of committed instructions each cycle. More... | |
Stats::Vector | instsCommitted |
Total number of instructions committed. More... | |
Stats::Vector | opsCommitted |
Total number of ops (including micro ops) committed. More... | |
Stats::Vector | memRefs |
Stat for the total number of committed memory references. More... | |
Stats::Vector | loads |
Stat for the total number of committed loads. More... | |
Stats::Vector | amos |
Stat for the total number of committed atomics. More... | |
Stats::Vector | membars |
Total number of committed memory barriers. More... | |
Stats::Vector | branches |
Total number of committed branches. More... | |
Stats::Vector | vector |
Total number of vector instructions. More... | |
Stats::Vector | floating |
Total number of floating point instructions. More... | |
Stats::Vector | integer |
Total number of integer instructions. More... | |
Stats::Vector | functionCalls |
Total number of function calls. More... | |
Stats::Vector2d | committedInstType |
Committed instructions by instruction type (OpClass) More... | |
Stats::Scalar | commitEligibleSamples |
Number of cycles where the commit bandwidth limit is reached. More... | |
DefaultCommit< Impl >::CommitStats::CommitStats | ( | O3CPU * | cpu, |
DefaultCommit * | commit | ||
) |
Definition at line 149 of file commit_impl.hh.
References DefaultCommit< Impl >::CommitStats::amos, DefaultCommit< Impl >::CommitStats::branches, DefaultCommit< Impl >::CommitStats::branchMispredicts, DefaultCommit< Impl >::commit(), DefaultCommit< Impl >::CommitStats::commitNonSpecStalls, DefaultCommit< Impl >::CommitStats::commitSquashedInsts, DefaultCommit< Impl >::CommitStats::committedInstType, DefaultCommit< Impl >::cpu, Stats::dist, Stats::DataWrap< Derived, InfoProxyType >::flags(), DefaultCommit< Impl >::CommitStats::floating, DefaultCommit< Impl >::CommitStats::functionCalls, Stats::VectorBase< Derived, Stor >::init(), Stats::Vector2dBase< Derived, Stor >::init(), Stats::Distribution::init(), DefaultCommit< Impl >::CommitStats::instsCommitted, DefaultCommit< Impl >::CommitStats::integer, DefaultCommit< Impl >::CommitStats::loads, DefaultCommit< Impl >::CommitStats::membars, DefaultCommit< Impl >::CommitStats::memRefs, DefaultCommit< Impl >::CommitStats::numCommittedDist, DefaultCommit< Impl >::CommitStats::opsCommitted, Stats::pdf, Stats::DataWrap< Derived, InfoProxyType >::prereq(), Stats::total, and Stats::DataWrapVec2d< Derived, InfoProxyType >::ysubnames().
Stats::Vector DefaultCommit< Impl >::CommitStats::amos |
Stat for the total number of committed atomics.
Definition at line 509 of file commit.hh.
Referenced by DefaultCommit< Impl >::CommitStats::CommitStats().
Stats::Vector DefaultCommit< Impl >::CommitStats::branches |
Total number of committed branches.
Definition at line 513 of file commit.hh.
Referenced by DefaultCommit< Impl >::CommitStats::CommitStats().
Stats::Scalar DefaultCommit< Impl >::CommitStats::branchMispredicts |
Stat for the total number of branch mispredicts that caused a squash.
Definition at line 496 of file commit.hh.
Referenced by DefaultCommit< Impl >::CommitStats::CommitStats().
Stats::Scalar DefaultCommit< Impl >::CommitStats::commitEligibleSamples |
Stats::Scalar DefaultCommit< Impl >::CommitStats::commitNonSpecStalls |
Stat for the total number of times commit has had to stall due to a non-speculative instruction reaching the head of the ROB.
Definition at line 492 of file commit.hh.
Referenced by DefaultCommit< Impl >::CommitStats::CommitStats().
Stats::Scalar DefaultCommit< Impl >::CommitStats::commitSquashedInsts |
Stat for the total number of squashed instructions discarded by commit.
Definition at line 488 of file commit.hh.
Referenced by DefaultCommit< Impl >::CommitStats::CommitStats().
Stats::Vector2d DefaultCommit< Impl >::CommitStats::committedInstType |
Committed instructions by instruction type (OpClass)
Definition at line 523 of file commit.hh.
Referenced by DefaultCommit< Impl >::CommitStats::CommitStats().
Stats::Vector DefaultCommit< Impl >::CommitStats::floating |
Total number of floating point instructions.
Definition at line 517 of file commit.hh.
Referenced by DefaultCommit< Impl >::CommitStats::CommitStats().
Stats::Vector DefaultCommit< Impl >::CommitStats::functionCalls |
Total number of function calls.
Definition at line 521 of file commit.hh.
Referenced by DefaultCommit< Impl >::CommitStats::CommitStats().
Stats::Vector DefaultCommit< Impl >::CommitStats::instsCommitted |
Total number of instructions committed.
Definition at line 501 of file commit.hh.
Referenced by DefaultCommit< Impl >::CommitStats::CommitStats().
Stats::Vector DefaultCommit< Impl >::CommitStats::integer |
Total number of integer instructions.
Definition at line 519 of file commit.hh.
Referenced by DefaultCommit< Impl >::CommitStats::CommitStats().
Stats::Vector DefaultCommit< Impl >::CommitStats::loads |
Stat for the total number of committed loads.
Definition at line 507 of file commit.hh.
Referenced by DefaultCommit< Impl >::CommitStats::CommitStats().
Stats::Vector DefaultCommit< Impl >::CommitStats::membars |
Total number of committed memory barriers.
Definition at line 511 of file commit.hh.
Referenced by DefaultCommit< Impl >::CommitStats::CommitStats().
Stats::Vector DefaultCommit< Impl >::CommitStats::memRefs |
Stat for the total number of committed memory references.
Definition at line 505 of file commit.hh.
Referenced by DefaultCommit< Impl >::CommitStats::CommitStats().
Stats::Distribution DefaultCommit< Impl >::CommitStats::numCommittedDist |
Distribution of the number of committed instructions each cycle.
Definition at line 498 of file commit.hh.
Referenced by DefaultCommit< Impl >::CommitStats::CommitStats().
Stats::Vector DefaultCommit< Impl >::CommitStats::opsCommitted |
Total number of ops (including micro ops) committed.
Definition at line 503 of file commit.hh.
Referenced by DefaultCommit< Impl >::CommitStats::CommitStats().
Stats::Vector DefaultCommit< Impl >::CommitStats::vector |