gem5 v24.0.0.0
|
#include <root.hh>
Public Member Functions | |
void | resetStats () override |
Callback to reset stats. | |
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 | 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 |
Static Public Attributes | |
static RootStats | instance |
Private Member Functions | |
RootStats () | |
RootStats (const RootStats &)=delete | |
RootStats & | operator= (const RootStats &)=delete |
Private Attributes | |
Time | statTime |
Tick | startTick |
|
private |
Definition at line 59 of file root.cc.
References gem5::curTick(), finalTick, gem5::sim_clock::Frequency, gem5::statistics::ValueBase< Derived >::functor(), hostMemory, hostSeconds, hostTickRate, gem5::memUsage(), gem5::statistics::DataWrap< Derived, InfoProxyType >::precision(), gem5::statistics::DataWrap< Derived, InfoProxyType >::prereq(), gem5::statistics::ValueBase< Derived >::scalar(), gem5::Time::setTimer(), simFreq, simSeconds, simTicks, startTick, and statTime.
|
privatedelete |
|
overridevirtual |
Callback to reset stats.
Reimplemented from gem5::statistics::Group.
Definition at line 107 of file root.cc.
References gem5::curTick(), and gem5::statistics::Group::resetStats().
statistics::Value gem5::Root::RootStats::finalTick |
Definition at line 106 of file root.hh.
Referenced by RootStats().
statistics::Value gem5::Root::RootStats::hostMemory |
Definition at line 111 of file root.hh.
Referenced by RootStats().
statistics::Value gem5::Root::RootStats::hostSeconds |
Definition at line 108 of file root.hh.
Referenced by RootStats().
statistics::Formula gem5::Root::RootStats::hostTickRate |
Definition at line 110 of file root.hh.
Referenced by RootStats().
|
static |
statistics::Value gem5::Root::RootStats::simFreq |
Definition at line 107 of file root.hh.
Referenced by RootStats().
statistics::Formula gem5::Root::RootStats::simSeconds |
Definition at line 104 of file root.hh.
Referenced by RootStats().
statistics::Value gem5::Root::RootStats::simTicks |
Definition at line 105 of file root.hh.
Referenced by RootStats().
|
private |
Definition at line 122 of file root.hh.
Referenced by RootStats().
|
private |
Definition at line 121 of file root.hh.
Referenced by RootStats().