gem5  v20.1.0.0
Public Member Functions | Public Attributes | List of all members
DRAMInterface::DRAMStats Struct Reference
Inheritance diagram for DRAMInterface::DRAMStats:
Stats::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 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 InforesolveStat (std::string name) const
 Resolve a stat by its name within this group. More...
 
 Group ()=delete
 
 Group (const Group &)=delete
 
Groupoperator= (const Group &)=delete
 

Public Attributes

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

Detailed Description

Definition at line 802 of file mem_interface.hh.

Constructor & Destructor Documentation

◆ DRAMStats()

DRAMInterface::DRAMStats::DRAMStats ( DRAMInterface dram)

Definition at line 1854 of file mem_interface.cc.

Member Function Documentation

◆ regStats()

void 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 Stats::Group.

Definition at line 1896 of file mem_interface.cc.

References SimClock::Frequency, Stats::nozero, and simSeconds.

◆ resetStats()

void DRAMInterface::DRAMStats::resetStats ( )
overridevirtual

Callback to reset stats.

Reimplemented from Stats::Group.

Definition at line 1849 of file mem_interface.cc.

References curTick().

Member Data Documentation

◆ avgBusLat

Stats::Formula DRAMInterface::DRAMStats::avgBusLat

Definition at line 826 of file mem_interface.hh.

◆ avgMemAccLat

Stats::Formula DRAMInterface::DRAMStats::avgMemAccLat

Definition at line 827 of file mem_interface.hh.

◆ avgQLat

Stats::Formula DRAMInterface::DRAMStats::avgQLat

Definition at line 825 of file mem_interface.hh.

◆ avgRdBW

Stats::Formula DRAMInterface::DRAMStats::avgRdBW

Definition at line 840 of file mem_interface.hh.

◆ avgWrBW

Stats::Formula DRAMInterface::DRAMStats::avgWrBW

Definition at line 841 of file mem_interface.hh.

◆ busUtil

Stats::Formula DRAMInterface::DRAMStats::busUtil

Definition at line 844 of file mem_interface.hh.

◆ busUtilRead

Stats::Formula DRAMInterface::DRAMStats::busUtilRead

Definition at line 845 of file mem_interface.hh.

◆ busUtilWrite

Stats::Formula DRAMInterface::DRAMStats::busUtilWrite

Definition at line 846 of file mem_interface.hh.

◆ bytesPerActivate

Stats::Histogram DRAMInterface::DRAMStats::bytesPerActivate

Definition at line 834 of file mem_interface.hh.

Referenced by DRAMInterface::prechargeBank().

◆ bytesRead

Stats::Scalar DRAMInterface::DRAMStats::bytesRead

Definition at line 836 of file mem_interface.hh.

Referenced by DRAMInterface::doBurstAccess().

◆ bytesWritten

Stats::Scalar DRAMInterface::DRAMStats::bytesWritten

Definition at line 837 of file mem_interface.hh.

Referenced by DRAMInterface::doBurstAccess().

◆ dram

DRAMInterface& DRAMInterface::DRAMStats::dram

Definition at line 809 of file mem_interface.hh.

◆ pageHitRate

Stats::Formula DRAMInterface::DRAMStats::pageHitRate

Definition at line 847 of file mem_interface.hh.

◆ peakBW

Stats::Formula DRAMInterface::DRAMStats::peakBW

Definition at line 842 of file mem_interface.hh.

◆ perBankRdBursts

Stats::Vector DRAMInterface::DRAMStats::perBankRdBursts

DRAM per bank stats.

Definition at line 816 of file mem_interface.hh.

Referenced by DRAMInterface::doBurstAccess().

◆ perBankWrBursts

Stats::Vector DRAMInterface::DRAMStats::perBankWrBursts

Definition at line 817 of file mem_interface.hh.

Referenced by DRAMInterface::doBurstAccess().

◆ readBursts

Stats::Scalar DRAMInterface::DRAMStats::readBursts

total number of DRAM bursts serviced

Definition at line 812 of file mem_interface.hh.

Referenced by DRAMInterface::doBurstAccess().

◆ readRowHitRate

Stats::Formula DRAMInterface::DRAMStats::readRowHitRate

Definition at line 832 of file mem_interface.hh.

◆ readRowHits

Stats::Scalar DRAMInterface::DRAMStats::readRowHits

Definition at line 830 of file mem_interface.hh.

Referenced by DRAMInterface::doBurstAccess().

◆ totBusLat

Stats::Scalar DRAMInterface::DRAMStats::totBusLat

Definition at line 821 of file mem_interface.hh.

Referenced by DRAMInterface::doBurstAccess().

◆ totMemAccLat

Stats::Scalar DRAMInterface::DRAMStats::totMemAccLat

Definition at line 822 of file mem_interface.hh.

Referenced by DRAMInterface::doBurstAccess().

◆ totQLat

Stats::Scalar DRAMInterface::DRAMStats::totQLat

Definition at line 820 of file mem_interface.hh.

Referenced by DRAMInterface::doBurstAccess().

◆ writeBursts

Stats::Scalar DRAMInterface::DRAMStats::writeBursts

Definition at line 813 of file mem_interface.hh.

Referenced by DRAMInterface::doBurstAccess().

◆ writeRowHitRate

Stats::Formula DRAMInterface::DRAMStats::writeRowHitRate

Definition at line 833 of file mem_interface.hh.

◆ writeRowHits

Stats::Scalar DRAMInterface::DRAMStats::writeRowHits

Definition at line 831 of file mem_interface.hh.

Referenced by DRAMInterface::doBurstAccess().


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

Generated on Wed Sep 30 2020 14:02:23 for gem5 by doxygen 1.8.17