|
gem5
v21.2.1.1
|
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 gem5::statistics::Group | |
| Group (Group *parent, const char *name=nullptr) | |
| Construct a new statistics group. More... | |
| virtual | ~Group () |
| void | addStat (statistics::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 | |
| Rank & | rank |
| 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. More... | |
| statistics::Vector | pwrStateTime |
| Track time spent in each power state. More... | |
Definition at line 406 of file mem_interface.hh.
| gem5::memory::DRAMInterface::RankStats::RankStats | ( | DRAMInterface & | dram, |
| Rank & | rank | ||
| ) |
Definition at line 1973 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 gem5::statistics::Group.
Definition at line 2034 of file mem_interface.cc.
References gem5::statistics::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 gem5::statistics::Group.
Definition at line 2011 of file mem_interface.cc.
References gem5::statistics::Group::regStats().
|
overridevirtual |
Callback to reset stats.
Reimplemented from gem5::statistics::Group.
Definition at line 2026 of file mem_interface.cc.
References gem5::statistics::Group::resetStats().
| statistics::Scalar gem5::memory::DRAMInterface::RankStats::actBackEnergy |
Definition at line 428 of file mem_interface.hh.
| statistics::Scalar gem5::memory::DRAMInterface::RankStats::actEnergy |
Definition at line 419 of file mem_interface.hh.
| statistics::Scalar gem5::memory::DRAMInterface::RankStats::actPowerDownEnergy |
Definition at line 438 of file mem_interface.hh.
| statistics::Scalar gem5::memory::DRAMInterface::RankStats::averagePower |
Definition at line 451 of file mem_interface.hh.
| statistics::Scalar gem5::memory::DRAMInterface::RankStats::preBackEnergy |
Definition at line 433 of file mem_interface.hh.
| statistics::Scalar gem5::memory::DRAMInterface::RankStats::preEnergy |
Definition at line 420 of file mem_interface.hh.
| statistics::Scalar gem5::memory::DRAMInterface::RankStats::prePowerDownEnergy |
Definition at line 443 of file mem_interface.hh.
| statistics::Vector gem5::memory::DRAMInterface::RankStats::pwrStateTime |
Track time spent in each power state.
Definition at line 462 of file mem_interface.hh.
| Rank& gem5::memory::DRAMInterface::RankStats::rank |
Definition at line 414 of file mem_interface.hh.
| statistics::Scalar gem5::memory::DRAMInterface::RankStats::readEnergy |
Definition at line 421 of file mem_interface.hh.
| statistics::Scalar gem5::memory::DRAMInterface::RankStats::refreshEnergy |
Definition at line 423 of file mem_interface.hh.
| statistics::Scalar gem5::memory::DRAMInterface::RankStats::selfRefreshEnergy |
Definition at line 448 of file mem_interface.hh.
| statistics::Scalar gem5::memory::DRAMInterface::RankStats::totalEnergy |
Definition at line 450 of file mem_interface.hh.
| statistics::Scalar gem5::memory::DRAMInterface::RankStats::totalIdleTime |
Stat to track total DRAM idle time.
Definition at line 457 of file mem_interface.hh.
| statistics::Scalar gem5::memory::DRAMInterface::RankStats::writeEnergy |
Definition at line 422 of file mem_interface.hh.