gem5
v21.0.0.0
|
#include <base.hh>
Public Member Functions | |
BaseCPUStats (Stats::Group *parent) | |
![]() | |
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... | |
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 | |
Stats::Scalar | numCycles |
Stats::Scalar | numWorkItemsStarted |
Stats::Scalar | numWorkItemsCompleted |
BaseCPU::BaseCPUStats::BaseCPUStats | ( | Stats::Group * | parent | ) |
Stats::Scalar BaseCPU::BaseCPUStats::numCycles |
Definition at line 606 of file base.hh.
Referenced by BaseKvmCPU::activateContext(), AtomicSimpleCPU::activateContext(), SimpleExecContext::ExecContextStats::ExecContextStats(), FullO3CPU< Impl >::FullO3CPUStats::FullO3CPUStats(), BaseKvmCPU::kvmRun(), Minor::MinorStats::MinorStats(), TraceCPU::schedDcacheNext(), AtomicSimpleCPU::tick(), FullO3CPU< O3CPUImpl >::tick(), TimingSimpleCPU::updateCycleCounts(), and FullO3CPU< O3CPUImpl >::wakeCPU().
Stats::Scalar BaseCPU::BaseCPUStats::numWorkItemsCompleted |
Definition at line 608 of file base.hh.
Referenced by BaseCPU::workItemEnd().
Stats::Scalar BaseCPU::BaseCPUStats::numWorkItemsStarted |
Definition at line 607 of file base.hh.
Referenced by BaseCPU::workItemBegin().