|
gem5 v23.0.0.1
|
Public Member Functions | |
| CommitStats (CPU *cpu, Commit *commit) | |
Public Member Functions inherited from gem5::statistics::Group | |
| Group (Group *parent, const char *name=nullptr) | |
| Construct a new statistics group. | |
| virtual | ~Group () |
| virtual void | regStats () |
| Callback to set stat parameters. | |
| virtual void | resetStats () |
| Callback to reset stats. | |
| virtual void | preDumpStats () |
| Callback before stats are dumped. | |
| void | addStat (statistics::Info *info) |
| Register a stat with this group. | |
| const std::map< std::string, Group * > & | getStatGroups () const |
| Get all child groups associated with this object. | |
| const std::vector< Info * > & | getStats () const |
| Get all stats associated with this object. | |
| void | addStatGroup (const char *name, Group *block) |
| Add a stat block as a child of this block. | |
| const Info * | resolveStat (std::string name) const |
| Resolve a stat by its name within this group. | |
| void | mergeStatGroup (Group *block) |
| Merge the contents (stats & children) of a block to this block. | |
| Group (const Group &)=delete | |
| Group & | operator= (const Group &)=delete |
Public Attributes | |
| statistics::Scalar | commitSquashedInsts |
| Stat for the total number of squashed instructions discarded by commit. | |
| statistics::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. | |
| statistics::Scalar | branchMispredicts |
| Stat for the total number of branch mispredicts that caused a squash. | |
| statistics::Distribution | numCommittedDist |
| Distribution of the number of committed instructions each cycle. | |
| statistics::Vector | amos |
| Stat for the total number of committed atomics. | |
| statistics::Vector | membars |
| Total number of committed memory barriers. | |
| statistics::Vector | functionCalls |
| Total number of function calls. | |
| statistics::Vector2d | committedInstType |
| Committed instructions by instruction type (OpClass) | |
| statistics::Scalar | commitEligibleSamples |
| Number of cycles where the commit bandwidth limit is reached. | |
Definition at line 148 of file commit.cc.
References amos, branchMispredicts, gem5::o3::Commit::commit(), commitNonSpecStalls, commitSquashedInsts, committedInstType, gem5::o3::Commit::cpu, gem5::statistics::dist, gem5::statistics::DataWrap< Derived, InfoProxyType >::flags(), functionCalls, gem5::statistics::Distribution::init(), gem5::statistics::Vector2dBase< Derived, Stor >::init(), gem5::statistics::VectorBase< Derived, Stor >::init(), membars, numCommittedDist, gem5::BaseCPU::numThreads, gem5::statistics::pdf, gem5::statistics::DataWrap< Derived, InfoProxyType >::prereq(), gem5::statistics::total, and gem5::statistics::DataWrapVec2d< Derived, InfoProxyType >::ysubnames().
| statistics::Vector gem5::o3::Commit::CommitStats::amos |
Stat for the total number of committed atomics.
Definition at line 483 of file commit.hh.
Referenced by CommitStats().
| statistics::Scalar gem5::o3::Commit::CommitStats::branchMispredicts |
Stat for the total number of branch mispredicts that caused a squash.
Definition at line 478 of file commit.hh.
Referenced by gem5::o3::Commit::commit(), and CommitStats().
| statistics::Scalar gem5::o3::Commit::CommitStats::commitEligibleSamples |
Number of cycles where the commit bandwidth limit is reached.
Definition at line 492 of file commit.hh.
Referenced by gem5::o3::Commit::commitInsts().
| statistics::Scalar gem5::o3::Commit::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 474 of file commit.hh.
Referenced by gem5::o3::Commit::commitHead(), and CommitStats().
| statistics::Scalar gem5::o3::Commit::CommitStats::commitSquashedInsts |
Stat for the total number of squashed instructions discarded by commit.
Definition at line 470 of file commit.hh.
Referenced by gem5::o3::Commit::commitInsts(), and CommitStats().
| statistics::Vector2d gem5::o3::Commit::CommitStats::committedInstType |
Committed instructions by instruction type (OpClass)
Definition at line 489 of file commit.hh.
Referenced by gem5::o3::Commit::commitInsts(), and CommitStats().
| statistics::Vector gem5::o3::Commit::CommitStats::functionCalls |
Total number of function calls.
Definition at line 487 of file commit.hh.
Referenced by CommitStats(), and gem5::o3::Commit::updateComInstStats().
| statistics::Vector gem5::o3::Commit::CommitStats::membars |
Total number of committed memory barriers.
Definition at line 485 of file commit.hh.
Referenced by CommitStats(), and gem5::o3::Commit::updateComInstStats().
| statistics::Distribution gem5::o3::Commit::CommitStats::numCommittedDist |
Distribution of the number of committed instructions each cycle.
Definition at line 480 of file commit.hh.
Referenced by gem5::o3::Commit::commitInsts(), and CommitStats().