gem5 v23.0.0.1
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
gem5::memory::DRAMInterface::RankStats Struct Reference
Inheritance diagram for gem5::memory::DRAMInterface::RankStats:
gem5::statistics::Group

Public Member Functions

 RankStats (DRAMInterface &dram, Rank &rank)
 
void regStats () override
 Callback to set stat parameters.
 
void resetStats () override
 Callback to reset stats.
 
void preDumpStats () override
 Callback before stats are dumped.
 
- 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

Rankrank
 
statistics::Scalar actEnergy
 
statistics::Scalar preEnergy
 
statistics::Scalar readEnergy
 
statistics::Scalar writeEnergy
 
statistics::Scalar refreshEnergy
 
statistics::Scalar actBackEnergy
 
statistics::Scalar preBackEnergy
 
statistics::Scalar actPowerDownEnergy
 
statistics::Scalar prePowerDownEnergy
 
statistics::Scalar selfRefreshEnergy
 
statistics::Scalar totalEnergy
 
statistics::Scalar averagePower
 
statistics::Scalar totalIdleTime
 Stat to track total DRAM idle time.
 
statistics::Vector pwrStateTime
 Track time spent in each power state.
 

Detailed Description

Definition at line 163 of file dram_interface.hh.

Constructor & Destructor Documentation

◆ RankStats()

gem5::memory::DRAMInterface::RankStats::RankStats ( DRAMInterface dram,
Rank rank 
)

Definition at line 1964 of file dram_interface.cc.

Member Function Documentation

◆ preDumpStats()

void gem5::memory::DRAMInterface::RankStats::preDumpStats ( )
overridevirtual

Callback before stats are dumped.

This can be overridden by objects that need to perform calculations in addition to the capabiltiies implemented in the stat framework.

Reimplemented from gem5::statistics::Group.

Definition at line 2025 of file dram_interface.cc.

References gem5::statistics::Group::preDumpStats().

◆ regStats()

void gem5::memory::DRAMInterface::RankStats::regStats ( )
overridevirtual

Callback to set stat parameters.

This callback is typically used for complex stats (e.g., distributions) that need parameters in addition to a name and a description. Stat names and descriptions should typically be set from the constructor usingo from the constructor using the ADD_STAT macro.

Reimplemented from gem5::statistics::Group.

Definition at line 2002 of file dram_interface.cc.

References gem5::statistics::Group::regStats().

◆ resetStats()

void gem5::memory::DRAMInterface::RankStats::resetStats ( )
overridevirtual

Callback to reset stats.

Reimplemented from gem5::statistics::Group.

Definition at line 2017 of file dram_interface.cc.

References gem5::statistics::Group::resetStats().

Member Data Documentation

◆ actBackEnergy

statistics::Scalar gem5::memory::DRAMInterface::RankStats::actBackEnergy

Definition at line 185 of file dram_interface.hh.

◆ actEnergy

statistics::Scalar gem5::memory::DRAMInterface::RankStats::actEnergy

Definition at line 176 of file dram_interface.hh.

◆ actPowerDownEnergy

statistics::Scalar gem5::memory::DRAMInterface::RankStats::actPowerDownEnergy

Definition at line 195 of file dram_interface.hh.

◆ averagePower

statistics::Scalar gem5::memory::DRAMInterface::RankStats::averagePower

Definition at line 208 of file dram_interface.hh.

◆ preBackEnergy

statistics::Scalar gem5::memory::DRAMInterface::RankStats::preBackEnergy

Definition at line 190 of file dram_interface.hh.

◆ preEnergy

statistics::Scalar gem5::memory::DRAMInterface::RankStats::preEnergy

Definition at line 177 of file dram_interface.hh.

◆ prePowerDownEnergy

statistics::Scalar gem5::memory::DRAMInterface::RankStats::prePowerDownEnergy

Definition at line 200 of file dram_interface.hh.

◆ pwrStateTime

statistics::Vector gem5::memory::DRAMInterface::RankStats::pwrStateTime

Track time spent in each power state.

Definition at line 219 of file dram_interface.hh.

◆ rank

Rank& gem5::memory::DRAMInterface::RankStats::rank

Definition at line 171 of file dram_interface.hh.

◆ readEnergy

statistics::Scalar gem5::memory::DRAMInterface::RankStats::readEnergy

Definition at line 178 of file dram_interface.hh.

◆ refreshEnergy

statistics::Scalar gem5::memory::DRAMInterface::RankStats::refreshEnergy

Definition at line 180 of file dram_interface.hh.

◆ selfRefreshEnergy

statistics::Scalar gem5::memory::DRAMInterface::RankStats::selfRefreshEnergy

Definition at line 205 of file dram_interface.hh.

◆ totalEnergy

statistics::Scalar gem5::memory::DRAMInterface::RankStats::totalEnergy

Definition at line 207 of file dram_interface.hh.

◆ totalIdleTime

statistics::Scalar gem5::memory::DRAMInterface::RankStats::totalIdleTime

Stat to track total DRAM idle time.

Definition at line 214 of file dram_interface.hh.

◆ writeEnergy

statistics::Scalar gem5::memory::DRAMInterface::RankStats::writeEnergy

Definition at line 179 of file dram_interface.hh.


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

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