|
gem5 v23.0.0.1
|
#include <base.hh>
Public Member Functions | |
| CommitCPUStats (statistics::Group *parent, int thread_id) | |
| void | updateComCtrlStats (const StaticInstPtr staticInst) |
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 |
| gem5::BaseCPU::CommitCPUStats::CommitCPUStats | ( | statistics::Group * | parent, |
| int | thread_id | ||
| ) |
Definition at line 988 of file base.cc.
References committedControl, committedInstType, cpi, gem5::statistics::dist, gem5::statistics::DataWrap< Derived, InfoProxyType >::flags(), gem5::ArmISA::i, gem5::statistics::VectorBase< Derived, Stor >::init(), ipc, gem5::statistics::nozero, gem5::Num_OpClasses, numInsts, gem5::statistics::pdf, gem5::statistics::DataWrap< Derived, InfoProxyType >::precision(), gem5::statistics::DataWrap< Derived, InfoProxyType >::prereq(), gem5::statistics::DataWrapVec< Derived, InfoProxyType >::subname(), and gem5::statistics::total.
| void gem5::BaseCPU::CommitCPUStats::updateComCtrlStats | ( | const StaticInstPtr | staticInst | ) |
Definition at line 1047 of file base.cc.
References gem5::StaticInst::isCall(), gem5::StaticInst::isCondCtrl(), gem5::StaticInst::isControl(), gem5::StaticInst::isDirectCtrl(), gem5::StaticInst::isIndirectCtrl(), gem5::StaticInst::isReturn(), and gem5::StaticInst::isUncondCtrl().
| statistics::Vector gem5::BaseCPU::CommitCPUStats::committedControl |
Definition at line 814 of file base.hh.
Referenced by CommitCPUStats().
| statistics::Vector gem5::BaseCPU::CommitCPUStats::committedInstType |
Definition at line 811 of file base.hh.
Referenced by CommitCPUStats().
| statistics::Formula gem5::BaseCPU::CommitCPUStats::cpi |
Definition at line 789 of file base.hh.
Referenced by CommitCPUStats().
| statistics::Formula gem5::BaseCPU::CommitCPUStats::ipc |
Definition at line 790 of file base.hh.
Referenced by CommitCPUStats().
| statistics::Scalar gem5::BaseCPU::CommitCPUStats::numFpInsts |
| statistics::Scalar gem5::BaseCPU::CommitCPUStats::numInsts |
Definition at line 781 of file base.hh.
Referenced by CommitCPUStats().
| statistics::Scalar gem5::BaseCPU::CommitCPUStats::numInstsNotNOP |
| statistics::Scalar gem5::BaseCPU::CommitCPUStats::numIntInsts |
| statistics::Scalar gem5::BaseCPU::CommitCPUStats::numLoadInsts |
| statistics::Scalar gem5::BaseCPU::CommitCPUStats::numMemRefs |
| statistics::Scalar gem5::BaseCPU::CommitCPUStats::numOps |
| statistics::Scalar gem5::BaseCPU::CommitCPUStats::numOpsNotNOP |
| statistics::Scalar gem5::BaseCPU::CommitCPUStats::numStoreInsts |
| statistics::Scalar gem5::BaseCPU::CommitCPUStats::numVecInsts |