gem5 v23.0.0.1
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions | Private Attributes | List of all members
gem5::Root::RootStats Struct Reference

#include <root.hh>

Inheritance diagram for gem5::Root::RootStats:
gem5::statistics::Group

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 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 InforesolveStat (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
 
Groupoperator= (const Group &)=delete
 

Public Attributes

statistics::Formula simSeconds
 
statistics::Value simTicks
 
statistics::Value finalTick
 
statistics::Value simFreq
 
statistics::Value hostSeconds
 
statistics::Formula hostTickRate
 
statistics::Value hostMemory
 

Static Public Attributes

static RootStats instance
 

Private Member Functions

 RootStats ()
 
 RootStats (const RootStats &)=delete
 
RootStatsoperator= (const RootStats &)=delete
 

Private Attributes

Time statTime
 
Tick startTick
 

Detailed Description

Definition at line 100 of file root.hh.

Constructor & Destructor Documentation

◆ RootStats() [1/2]

gem5::Root::RootStats::RootStats ( )
private

◆ RootStats() [2/2]

gem5::Root::RootStats::RootStats ( const RootStats )
privatedelete

Member Function Documentation

◆ operator=()

RootStats & gem5::Root::RootStats::operator= ( const RootStats )
privatedelete

◆ resetStats()

void gem5::Root::RootStats::resetStats ( )
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().

Member Data Documentation

◆ finalTick

statistics::Value gem5::Root::RootStats::finalTick

Definition at line 106 of file root.hh.

Referenced by RootStats().

◆ hostMemory

statistics::Value gem5::Root::RootStats::hostMemory

Definition at line 111 of file root.hh.

Referenced by RootStats().

◆ hostSeconds

statistics::Value gem5::Root::RootStats::hostSeconds

Definition at line 108 of file root.hh.

Referenced by RootStats().

◆ hostTickRate

statistics::Formula gem5::Root::RootStats::hostTickRate

Definition at line 110 of file root.hh.

Referenced by RootStats().

◆ instance

Root::RootStats gem5::Root::RootStats::instance
static

Definition at line 113 of file root.hh.

◆ simFreq

statistics::Value gem5::Root::RootStats::simFreq

Definition at line 107 of file root.hh.

Referenced by RootStats().

◆ simSeconds

statistics::Formula gem5::Root::RootStats::simSeconds

Definition at line 104 of file root.hh.

Referenced by RootStats().

◆ simTicks

statistics::Value gem5::Root::RootStats::simTicks

Definition at line 105 of file root.hh.

Referenced by RootStats().

◆ startTick

Tick gem5::Root::RootStats::startTick
private

Definition at line 122 of file root.hh.

Referenced by RootStats().

◆ statTime

Time gem5::Root::RootStats::statTime
private

Definition at line 121 of file root.hh.

Referenced by RootStats().


The documentation for this struct was generated from the following files:

Generated on Mon Jul 10 2023 15:32:15 for gem5 by doxygen 1.9.7