gem5 v24.0.0.0
|
#include <thread_state.hh>
Public Member Functions | |
ThreadStateStats (BaseCPU *cpu, const ThreadID &thread) | |
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 ()=delete | |
Group (const Group &)=delete | |
Group & | operator= (const Group &)=delete |
Public Attributes | |
statistics::Scalar | numInsts |
Stat for number instructions committed. | |
statistics::Scalar | numOps |
Stat for number ops (including micro ops) committed. | |
statistics::Scalar | numMemRefs |
Stat for number of memory references. | |
Definition at line 92 of file thread_state.hh.
Definition at line 65 of file thread_state.cc.
statistics::Scalar gem5::ThreadState::ThreadStateStats::numInsts |
Stat for number instructions committed.
Definition at line 96 of file thread_state.hh.
Referenced by gem5::minor::Execute::doInstCommitAccounting().
statistics::Scalar gem5::ThreadState::ThreadStateStats::numMemRefs |
Stat for number of memory references.
Definition at line 100 of file thread_state.hh.
statistics::Scalar gem5::ThreadState::ThreadStateStats::numOps |
Stat for number ops (including micro ops) committed.
Definition at line 98 of file thread_state.hh.
Referenced by gem5::minor::Execute::doInstCommitAccounting().