gem5
v20.1.0.0
|
Public Member Functions | |
RankStats (DRAMInterface &dram, Rank &rank) | |
void | regStats () override |
Callback to set stat parameters. More... | |
void | resetStats () override |
Callback to reset stats. More... | |
void | preDumpStats () override |
Callback before stats are dumped. More... | |
Public Member Functions inherited from Stats::Group | |
Group (Group *parent, const char *name=nullptr) | |
Construct a new statistics group. More... | |
virtual | ~Group () |
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... | |
Group ()=delete | |
Group (const Group &)=delete | |
Group & | operator= (const Group &)=delete |
Public Attributes | |
Rank & | rank |
Stats::Scalar | actEnergy |
Stats::Scalar | preEnergy |
Stats::Scalar | readEnergy |
Stats::Scalar | writeEnergy |
Stats::Scalar | refreshEnergy |
Stats::Scalar | actBackEnergy |
Stats::Scalar | preBackEnergy |
Stats::Scalar | actPowerDownEnergy |
Stats::Scalar | prePowerDownEnergy |
Stats::Scalar | selfRefreshEnergy |
Stats::Scalar | totalEnergy |
Stats::Scalar | averagePower |
Stats::Scalar | totalIdleTime |
Stat to track total DRAM idle time. More... | |
Stats::Vector | pwrStateTime |
Track time spent in each power state. More... | |
Definition at line 399 of file mem_interface.hh.
DRAMInterface::RankStats::RankStats | ( | DRAMInterface & | dram, |
Rank & | rank | ||
) |
Definition at line 1943 of file mem_interface.cc.
|
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 Stats::Group.
Definition at line 1992 of file mem_interface.cc.
References Stats::Group::preDumpStats().
|
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 Stats::Group.
Definition at line 1969 of file mem_interface.cc.
References Stats::Group::regStats().
|
overridevirtual |
Callback to reset stats.
Reimplemented from Stats::Group.
Definition at line 1984 of file mem_interface.cc.
References Stats::Group::resetStats().
Stats::Scalar DRAMInterface::RankStats::actBackEnergy |
Definition at line 421 of file mem_interface.hh.
Stats::Scalar DRAMInterface::RankStats::actEnergy |
Definition at line 412 of file mem_interface.hh.
Stats::Scalar DRAMInterface::RankStats::actPowerDownEnergy |
Definition at line 431 of file mem_interface.hh.
Stats::Scalar DRAMInterface::RankStats::averagePower |
Definition at line 444 of file mem_interface.hh.
Stats::Scalar DRAMInterface::RankStats::preBackEnergy |
Definition at line 426 of file mem_interface.hh.
Stats::Scalar DRAMInterface::RankStats::preEnergy |
Definition at line 413 of file mem_interface.hh.
Stats::Scalar DRAMInterface::RankStats::prePowerDownEnergy |
Definition at line 436 of file mem_interface.hh.
Stats::Vector DRAMInterface::RankStats::pwrStateTime |
Track time spent in each power state.
Definition at line 455 of file mem_interface.hh.
Rank& DRAMInterface::RankStats::rank |
Definition at line 407 of file mem_interface.hh.
Stats::Scalar DRAMInterface::RankStats::readEnergy |
Definition at line 414 of file mem_interface.hh.
Stats::Scalar DRAMInterface::RankStats::refreshEnergy |
Definition at line 416 of file mem_interface.hh.
Stats::Scalar DRAMInterface::RankStats::selfRefreshEnergy |
Definition at line 441 of file mem_interface.hh.
Stats::Scalar DRAMInterface::RankStats::totalEnergy |
Definition at line 443 of file mem_interface.hh.
Stats::Scalar DRAMInterface::RankStats::totalIdleTime |
Stat to track total DRAM idle time.
Definition at line 450 of file mem_interface.hh.
Stats::Scalar DRAMInterface::RankStats::writeEnergy |
Definition at line 415 of file mem_interface.hh.