|
gem5 [DEVELOP-FOR-25.0]
|
Public Member Functions | |
| DRAMStats (DRAMInterface &dram) | |
| void | regStats () override |
| Callback to set stat parameters. | |
| 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 | 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 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 |
Definition at line 583 of file dram_interface.hh.
| gem5::memory::DRAMInterface::DRAMStats::DRAMStats | ( | DRAMInterface & | dram | ) |
Definition at line 1845 of file dram_interface.cc.
References ADD_STAT, avgBusLat, avgMemAccLat, avgQLat, avgRdBW, avgWrBW, busUtil, busUtilRead, busUtilWrite, bytesPerActivate, dram, dramBytesRead, dramBytesWritten, gem5::memory::DRAMInterface::DRAMInterface(), gem5::statistics::Group::Group(), pageHitRate, peakBW, perBankRdBursts, perBankWrBursts, readBursts, readRowHitRate, readRowHits, totBusLat, totMemAccLat, totQLat, writeBursts, writeRowHitRate, and writeRowHits.
|
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 1917 of file dram_interface.cc.
References avgBusLat, avgMemAccLat, avgQLat, avgRdBW, avgWrBW, busUtil, busUtilRead, busUtilWrite, bytesPerActivate, dram, dramBytesRead, dramBytesWritten, gem5::sim_clock::Frequency, gem5::statistics::nozero, pageHitRate, peakBW, perBankRdBursts, perBankWrBursts, readBursts, readRowHitRate, readRowHits, gem5::simSeconds, totBusLat, totMemAccLat, totQLat, writeBursts, writeRowHitRate, and writeRowHits.
|
overridevirtual |
Callback to reset stats.
Reimplemented from gem5::statistics::Group.
Definition at line 1840 of file dram_interface.cc.
References gem5::curTick(), and dram.
| statistics::Formula gem5::memory::DRAMInterface::DRAMStats::avgBusLat |
Definition at line 607 of file dram_interface.hh.
Referenced by DRAMStats(), and regStats().
| statistics::Formula gem5::memory::DRAMInterface::DRAMStats::avgMemAccLat |
Definition at line 608 of file dram_interface.hh.
Referenced by DRAMStats(), and regStats().
| statistics::Formula gem5::memory::DRAMInterface::DRAMStats::avgQLat |
Definition at line 606 of file dram_interface.hh.
Referenced by DRAMStats(), and regStats().
| statistics::Formula gem5::memory::DRAMInterface::DRAMStats::avgRdBW |
Definition at line 621 of file dram_interface.hh.
Referenced by DRAMStats(), and regStats().
| statistics::Formula gem5::memory::DRAMInterface::DRAMStats::avgWrBW |
Definition at line 622 of file dram_interface.hh.
Referenced by DRAMStats(), and regStats().
| statistics::Formula gem5::memory::DRAMInterface::DRAMStats::busUtil |
Definition at line 625 of file dram_interface.hh.
Referenced by DRAMStats(), and regStats().
| statistics::Formula gem5::memory::DRAMInterface::DRAMStats::busUtilRead |
Definition at line 626 of file dram_interface.hh.
Referenced by DRAMStats(), and regStats().
| statistics::Formula gem5::memory::DRAMInterface::DRAMStats::busUtilWrite |
Definition at line 627 of file dram_interface.hh.
Referenced by DRAMStats(), and regStats().
| statistics::Histogram gem5::memory::DRAMInterface::DRAMStats::bytesPerActivate |
Definition at line 615 of file dram_interface.hh.
Referenced by DRAMStats(), and regStats().
| DRAMInterface& gem5::memory::DRAMInterface::DRAMStats::dram |
Definition at line 590 of file dram_interface.hh.
Referenced by DRAMStats(), regStats(), and resetStats().
| statistics::Scalar gem5::memory::DRAMInterface::DRAMStats::dramBytesRead |
Definition at line 617 of file dram_interface.hh.
Referenced by DRAMStats(), and regStats().
| statistics::Scalar gem5::memory::DRAMInterface::DRAMStats::dramBytesWritten |
Definition at line 618 of file dram_interface.hh.
Referenced by DRAMStats(), and regStats().
| statistics::Formula gem5::memory::DRAMInterface::DRAMStats::pageHitRate |
Definition at line 628 of file dram_interface.hh.
Referenced by DRAMStats(), and regStats().
| statistics::Formula gem5::memory::DRAMInterface::DRAMStats::peakBW |
Definition at line 623 of file dram_interface.hh.
Referenced by DRAMStats(), and regStats().
| statistics::Vector gem5::memory::DRAMInterface::DRAMStats::perBankRdBursts |
DRAM per bank stats.
Definition at line 597 of file dram_interface.hh.
Referenced by DRAMStats(), and regStats().
| statistics::Vector gem5::memory::DRAMInterface::DRAMStats::perBankWrBursts |
Definition at line 598 of file dram_interface.hh.
Referenced by DRAMStats(), and regStats().
| statistics::Scalar gem5::memory::DRAMInterface::DRAMStats::readBursts |
total number of DRAM bursts serviced
Definition at line 593 of file dram_interface.hh.
Referenced by DRAMStats(), and regStats().
| statistics::Formula gem5::memory::DRAMInterface::DRAMStats::readRowHitRate |
Definition at line 613 of file dram_interface.hh.
Referenced by DRAMStats(), and regStats().
| statistics::Scalar gem5::memory::DRAMInterface::DRAMStats::readRowHits |
Definition at line 611 of file dram_interface.hh.
Referenced by DRAMStats(), and regStats().
| statistics::Scalar gem5::memory::DRAMInterface::DRAMStats::totBusLat |
Definition at line 602 of file dram_interface.hh.
Referenced by DRAMStats(), and regStats().
| statistics::Scalar gem5::memory::DRAMInterface::DRAMStats::totMemAccLat |
Definition at line 603 of file dram_interface.hh.
Referenced by DRAMStats(), and regStats().
| statistics::Scalar gem5::memory::DRAMInterface::DRAMStats::totQLat |
Definition at line 601 of file dram_interface.hh.
Referenced by DRAMStats(), and regStats().
| statistics::Scalar gem5::memory::DRAMInterface::DRAMStats::writeBursts |
Definition at line 594 of file dram_interface.hh.
Referenced by DRAMStats(), and regStats().
| statistics::Formula gem5::memory::DRAMInterface::DRAMStats::writeRowHitRate |
Definition at line 614 of file dram_interface.hh.
Referenced by DRAMStats(), and regStats().
| statistics::Scalar gem5::memory::DRAMInterface::DRAMStats::writeRowHits |
Definition at line 612 of file dram_interface.hh.
Referenced by DRAMStats(), and regStats().