|
gem5 [DEVELOP-FOR-25.0]
|
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 () |
| 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 |
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. | |
| statistics::Vector | pwrStateTime |
| Track time spent in each power state. | |
Definition at line 163 of file dram_interface.hh.
| gem5::memory::DRAMInterface::RankStats::RankStats | ( | DRAMInterface & | dram, |
| Rank & | rank ) |
Definition at line 1964 of file dram_interface.cc.
References actBackEnergy, actEnergy, actPowerDownEnergy, ADD_STAT, averagePower, gem5::csprintf(), gem5::memory::DRAMInterface::DRAMInterface(), gem5::statistics::Group::Group(), preBackEnergy, preEnergy, prePowerDownEnergy, pwrStateTime, rank, readEnergy, refreshEnergy, selfRefreshEnergy, totalEnergy, totalIdleTime, and writeEnergy.
|
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(), and rank.
|
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 pwrStateTime, and gem5::statistics::Group::regStats().
|
overridevirtual |
Callback to reset stats.
Reimplemented from gem5::statistics::Group.
Definition at line 2017 of file dram_interface.cc.
References rank, and gem5::statistics::Group::resetStats().
| statistics::Scalar gem5::memory::DRAMInterface::RankStats::actBackEnergy |
Definition at line 185 of file dram_interface.hh.
Referenced by RankStats().
| statistics::Scalar gem5::memory::DRAMInterface::RankStats::actEnergy |
Definition at line 176 of file dram_interface.hh.
Referenced by RankStats().
| statistics::Scalar gem5::memory::DRAMInterface::RankStats::actPowerDownEnergy |
Definition at line 195 of file dram_interface.hh.
Referenced by RankStats().
| statistics::Scalar gem5::memory::DRAMInterface::RankStats::averagePower |
Definition at line 208 of file dram_interface.hh.
Referenced by RankStats().
| statistics::Scalar gem5::memory::DRAMInterface::RankStats::preBackEnergy |
Definition at line 190 of file dram_interface.hh.
Referenced by RankStats().
| statistics::Scalar gem5::memory::DRAMInterface::RankStats::preEnergy |
Definition at line 177 of file dram_interface.hh.
Referenced by RankStats().
| statistics::Scalar gem5::memory::DRAMInterface::RankStats::prePowerDownEnergy |
Definition at line 200 of file dram_interface.hh.
Referenced by RankStats().
| statistics::Vector gem5::memory::DRAMInterface::RankStats::pwrStateTime |
Track time spent in each power state.
Definition at line 219 of file dram_interface.hh.
Referenced by RankStats(), and regStats().
| Rank& gem5::memory::DRAMInterface::RankStats::rank |
Definition at line 171 of file dram_interface.hh.
Referenced by preDumpStats(), RankStats(), and resetStats().
| statistics::Scalar gem5::memory::DRAMInterface::RankStats::readEnergy |
Definition at line 178 of file dram_interface.hh.
Referenced by RankStats().
| statistics::Scalar gem5::memory::DRAMInterface::RankStats::refreshEnergy |
Definition at line 180 of file dram_interface.hh.
Referenced by RankStats().
| statistics::Scalar gem5::memory::DRAMInterface::RankStats::selfRefreshEnergy |
Definition at line 205 of file dram_interface.hh.
Referenced by RankStats().
| statistics::Scalar gem5::memory::DRAMInterface::RankStats::totalEnergy |
Definition at line 207 of file dram_interface.hh.
Referenced by RankStats().
| statistics::Scalar gem5::memory::DRAMInterface::RankStats::totalIdleTime |
Stat to track total DRAM idle time.
Definition at line 214 of file dram_interface.hh.
Referenced by RankStats().
| statistics::Scalar gem5::memory::DRAMInterface::RankStats::writeEnergy |
Definition at line 179 of file dram_interface.hh.
Referenced by RankStats().