gem5  v21.1.0.2
Public Member Functions | Public Attributes | List of all members
gem5::memory::DRAMInterface::DRAMStats Struct Reference
Inheritance diagram for gem5::memory::DRAMInterface::DRAMStats:
gem5::statistics::Group

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 gem5::statistics::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 (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 InforesolveStat (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
 
Groupoperator= (const Group &)=delete
 

Public Attributes

DRAMInterfacedram
 
statistics::Scalar readBursts
 total number of DRAM bursts serviced More...
 
statistics::Scalar writeBursts
 
statistics::Vector perBankRdBursts
 DRAM per bank stats. More...
 
statistics::Vector perBankWrBursts
 
statistics::Scalar totQLat
 
statistics::Scalar totBusLat
 
statistics::Scalar totMemAccLat
 
statistics::Formula avgQLat
 
statistics::Formula avgBusLat
 
statistics::Formula avgMemAccLat
 
statistics::Scalar readRowHits
 
statistics::Scalar writeRowHits
 
statistics::Formula readRowHitRate
 
statistics::Formula writeRowHitRate
 
statistics::Histogram bytesPerActivate
 
statistics::Scalar bytesRead
 
statistics::Scalar bytesWritten
 
statistics::Formula avgRdBW
 
statistics::Formula avgWrBW
 
statistics::Formula peakBW
 
statistics::Formula busUtil
 
statistics::Formula busUtilRead
 
statistics::Formula busUtilWrite
 
statistics::Formula pageHitRate
 

Detailed Description

Definition at line 809 of file mem_interface.hh.

Constructor & Destructor Documentation

◆ DRAMStats()

gem5::memory::DRAMInterface::DRAMStats::DRAMStats ( DRAMInterface dram)

Definition at line 1854 of file mem_interface.cc.

Member Function Documentation

◆ regStats()

void gem5::memory::DRAMInterface::DRAMStats::regStats ( )
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 1924 of file mem_interface.cc.

References gem5::sim_clock::Frequency, gem5::statistics::nozero, and gem5::simSeconds.

◆ resetStats()

void gem5::memory::DRAMInterface::DRAMStats::resetStats ( )
overridevirtual

Callback to reset stats.

Reimplemented from gem5::statistics::Group.

Definition at line 1849 of file mem_interface.cc.

References gem5::curTick().

Member Data Documentation

◆ avgBusLat

statistics::Formula gem5::memory::DRAMInterface::DRAMStats::avgBusLat

Definition at line 833 of file mem_interface.hh.

◆ avgMemAccLat

statistics::Formula gem5::memory::DRAMInterface::DRAMStats::avgMemAccLat

Definition at line 834 of file mem_interface.hh.

◆ avgQLat

statistics::Formula gem5::memory::DRAMInterface::DRAMStats::avgQLat

Definition at line 832 of file mem_interface.hh.

◆ avgRdBW

statistics::Formula gem5::memory::DRAMInterface::DRAMStats::avgRdBW

Definition at line 847 of file mem_interface.hh.

◆ avgWrBW

statistics::Formula gem5::memory::DRAMInterface::DRAMStats::avgWrBW

Definition at line 848 of file mem_interface.hh.

◆ busUtil

statistics::Formula gem5::memory::DRAMInterface::DRAMStats::busUtil

Definition at line 851 of file mem_interface.hh.

◆ busUtilRead

statistics::Formula gem5::memory::DRAMInterface::DRAMStats::busUtilRead

Definition at line 852 of file mem_interface.hh.

◆ busUtilWrite

statistics::Formula gem5::memory::DRAMInterface::DRAMStats::busUtilWrite

Definition at line 853 of file mem_interface.hh.

◆ bytesPerActivate

statistics::Histogram gem5::memory::DRAMInterface::DRAMStats::bytesPerActivate

Definition at line 841 of file mem_interface.hh.

Referenced by gem5::memory::DRAMInterface::prechargeBank().

◆ bytesRead

statistics::Scalar gem5::memory::DRAMInterface::DRAMStats::bytesRead

Definition at line 843 of file mem_interface.hh.

Referenced by gem5::memory::DRAMInterface::doBurstAccess().

◆ bytesWritten

statistics::Scalar gem5::memory::DRAMInterface::DRAMStats::bytesWritten

Definition at line 844 of file mem_interface.hh.

Referenced by gem5::memory::DRAMInterface::doBurstAccess().

◆ dram

DRAMInterface& gem5::memory::DRAMInterface::DRAMStats::dram

Definition at line 816 of file mem_interface.hh.

◆ pageHitRate

statistics::Formula gem5::memory::DRAMInterface::DRAMStats::pageHitRate

Definition at line 854 of file mem_interface.hh.

◆ peakBW

statistics::Formula gem5::memory::DRAMInterface::DRAMStats::peakBW

Definition at line 849 of file mem_interface.hh.

◆ perBankRdBursts

statistics::Vector gem5::memory::DRAMInterface::DRAMStats::perBankRdBursts

DRAM per bank stats.

Definition at line 823 of file mem_interface.hh.

Referenced by gem5::memory::DRAMInterface::doBurstAccess().

◆ perBankWrBursts

statistics::Vector gem5::memory::DRAMInterface::DRAMStats::perBankWrBursts

Definition at line 824 of file mem_interface.hh.

Referenced by gem5::memory::DRAMInterface::doBurstAccess().

◆ readBursts

statistics::Scalar gem5::memory::DRAMInterface::DRAMStats::readBursts

total number of DRAM bursts serviced

Definition at line 819 of file mem_interface.hh.

Referenced by gem5::memory::DRAMInterface::doBurstAccess().

◆ readRowHitRate

statistics::Formula gem5::memory::DRAMInterface::DRAMStats::readRowHitRate

Definition at line 839 of file mem_interface.hh.

◆ readRowHits

statistics::Scalar gem5::memory::DRAMInterface::DRAMStats::readRowHits

Definition at line 837 of file mem_interface.hh.

Referenced by gem5::memory::DRAMInterface::doBurstAccess().

◆ totBusLat

statistics::Scalar gem5::memory::DRAMInterface::DRAMStats::totBusLat

Definition at line 828 of file mem_interface.hh.

Referenced by gem5::memory::DRAMInterface::doBurstAccess().

◆ totMemAccLat

statistics::Scalar gem5::memory::DRAMInterface::DRAMStats::totMemAccLat

Definition at line 829 of file mem_interface.hh.

Referenced by gem5::memory::DRAMInterface::doBurstAccess().

◆ totQLat

statistics::Scalar gem5::memory::DRAMInterface::DRAMStats::totQLat

Definition at line 827 of file mem_interface.hh.

Referenced by gem5::memory::DRAMInterface::doBurstAccess().

◆ writeBursts

statistics::Scalar gem5::memory::DRAMInterface::DRAMStats::writeBursts

Definition at line 820 of file mem_interface.hh.

Referenced by gem5::memory::DRAMInterface::doBurstAccess().

◆ writeRowHitRate

statistics::Formula gem5::memory::DRAMInterface::DRAMStats::writeRowHitRate

Definition at line 840 of file mem_interface.hh.

◆ writeRowHits

statistics::Scalar gem5::memory::DRAMInterface::DRAMStats::writeRowHits

Definition at line 838 of file mem_interface.hh.

Referenced by gem5::memory::DRAMInterface::doBurstAccess().


The documentation for this struct was generated from the following files:

Generated on Tue Sep 21 2021 12:31:27 for gem5 by doxygen 1.8.17