gem5
v20.1.0.0
|
Public Member Functions | |
DRAMStats (DRAMInterface &dram) | |
void | regStats () override |
Callback to set stat parameters. More... | |
void | resetStats () override |
Callback to reset stats. More... | |
Public Member Functions inherited from Stats::Group | |
Group (Group *parent, const char *name=nullptr) | |
Construct a new statistics group. More... | |
virtual | ~Group () |
virtual void | preDumpStats () |
Callback before stats are dumped. More... | |
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 |
Definition at line 802 of file mem_interface.hh.
DRAMInterface::DRAMStats::DRAMStats | ( | DRAMInterface & | dram | ) |
Definition at line 1854 of file mem_interface.cc.
|
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 1896 of file mem_interface.cc.
References SimClock::Frequency, Stats::nozero, and simSeconds.
|
overridevirtual |
Callback to reset stats.
Reimplemented from Stats::Group.
Definition at line 1849 of file mem_interface.cc.
References curTick().
Stats::Formula DRAMInterface::DRAMStats::avgBusLat |
Definition at line 826 of file mem_interface.hh.
Stats::Formula DRAMInterface::DRAMStats::avgMemAccLat |
Definition at line 827 of file mem_interface.hh.
Stats::Formula DRAMInterface::DRAMStats::avgQLat |
Definition at line 825 of file mem_interface.hh.
Stats::Formula DRAMInterface::DRAMStats::avgRdBW |
Definition at line 840 of file mem_interface.hh.
Stats::Formula DRAMInterface::DRAMStats::avgWrBW |
Definition at line 841 of file mem_interface.hh.
Stats::Formula DRAMInterface::DRAMStats::busUtil |
Definition at line 844 of file mem_interface.hh.
Stats::Formula DRAMInterface::DRAMStats::busUtilRead |
Definition at line 845 of file mem_interface.hh.
Stats::Formula DRAMInterface::DRAMStats::busUtilWrite |
Definition at line 846 of file mem_interface.hh.
Stats::Histogram DRAMInterface::DRAMStats::bytesPerActivate |
Definition at line 834 of file mem_interface.hh.
Referenced by DRAMInterface::prechargeBank().
Stats::Scalar DRAMInterface::DRAMStats::bytesRead |
Definition at line 836 of file mem_interface.hh.
Referenced by DRAMInterface::doBurstAccess().
Stats::Scalar DRAMInterface::DRAMStats::bytesWritten |
Definition at line 837 of file mem_interface.hh.
Referenced by DRAMInterface::doBurstAccess().
DRAMInterface& DRAMInterface::DRAMStats::dram |
Definition at line 809 of file mem_interface.hh.
Stats::Formula DRAMInterface::DRAMStats::pageHitRate |
Definition at line 847 of file mem_interface.hh.
Stats::Formula DRAMInterface::DRAMStats::peakBW |
Definition at line 842 of file mem_interface.hh.
Stats::Vector DRAMInterface::DRAMStats::perBankRdBursts |
DRAM per bank stats.
Definition at line 816 of file mem_interface.hh.
Referenced by DRAMInterface::doBurstAccess().
Stats::Vector DRAMInterface::DRAMStats::perBankWrBursts |
Definition at line 817 of file mem_interface.hh.
Referenced by DRAMInterface::doBurstAccess().
Stats::Scalar DRAMInterface::DRAMStats::readBursts |
total number of DRAM bursts serviced
Definition at line 812 of file mem_interface.hh.
Referenced by DRAMInterface::doBurstAccess().
Stats::Formula DRAMInterface::DRAMStats::readRowHitRate |
Definition at line 832 of file mem_interface.hh.
Stats::Scalar DRAMInterface::DRAMStats::readRowHits |
Definition at line 830 of file mem_interface.hh.
Referenced by DRAMInterface::doBurstAccess().
Stats::Scalar DRAMInterface::DRAMStats::totBusLat |
Definition at line 821 of file mem_interface.hh.
Referenced by DRAMInterface::doBurstAccess().
Stats::Scalar DRAMInterface::DRAMStats::totMemAccLat |
Definition at line 822 of file mem_interface.hh.
Referenced by DRAMInterface::doBurstAccess().
Stats::Scalar DRAMInterface::DRAMStats::totQLat |
Definition at line 820 of file mem_interface.hh.
Referenced by DRAMInterface::doBurstAccess().
Stats::Scalar DRAMInterface::DRAMStats::writeBursts |
Definition at line 813 of file mem_interface.hh.
Referenced by DRAMInterface::doBurstAccess().
Stats::Formula DRAMInterface::DRAMStats::writeRowHitRate |
Definition at line 833 of file mem_interface.hh.
Stats::Scalar DRAMInterface::DRAMStats::writeRowHits |
Definition at line 831 of file mem_interface.hh.
Referenced by DRAMInterface::doBurstAccess().