gem5 v23.0.0.1
Loading...
Searching...
No Matches
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.
 
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 regStats ()
 Callback to set stat parameters.
 
virtual void resetStats ()
 Callback to reset stats.
 
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 InforesolveStat (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 (const Group &)=delete
 
Groupoperator= (const Group &)=delete
 

Public Attributes

DRAMInterfacedram
 
statistics::Scalar readBursts
 total number of DRAM bursts serviced
 
statistics::Scalar writeBursts
 
statistics::Vector perBankRdBursts
 DRAM per bank stats.
 
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 579 of file dram_interface.hh.

Constructor & Destructor Documentation

◆ DRAMStats()

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

Definition at line 1845 of file dram_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 1917 of file dram_interface.cc.

References flags, 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 1840 of file dram_interface.cc.

References gem5::curTick().

Member Data Documentation

◆ avgBusLat

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

Definition at line 603 of file dram_interface.hh.

◆ avgMemAccLat

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

Definition at line 604 of file dram_interface.hh.

◆ avgQLat

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

Definition at line 602 of file dram_interface.hh.

◆ avgRdBW

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

Definition at line 617 of file dram_interface.hh.

◆ avgWrBW

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

Definition at line 618 of file dram_interface.hh.

◆ busUtil

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

Definition at line 621 of file dram_interface.hh.

◆ busUtilRead

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

Definition at line 622 of file dram_interface.hh.

◆ busUtilWrite

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

Definition at line 623 of file dram_interface.hh.

◆ bytesPerActivate

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

Definition at line 611 of file dram_interface.hh.

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

◆ bytesRead

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

Definition at line 613 of file dram_interface.hh.

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

◆ bytesWritten

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

Definition at line 614 of file dram_interface.hh.

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

◆ dram

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

Definition at line 586 of file dram_interface.hh.

◆ pageHitRate

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

Definition at line 624 of file dram_interface.hh.

◆ peakBW

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

Definition at line 619 of file dram_interface.hh.

◆ perBankRdBursts

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

DRAM per bank stats.

Definition at line 593 of file dram_interface.hh.

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

◆ perBankWrBursts

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

Definition at line 594 of file dram_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 589 of file dram_interface.hh.

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

◆ readRowHitRate

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

Definition at line 609 of file dram_interface.hh.

◆ readRowHits

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

Definition at line 607 of file dram_interface.hh.

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

◆ totBusLat

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

Definition at line 598 of file dram_interface.hh.

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

◆ totMemAccLat

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

Definition at line 599 of file dram_interface.hh.

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

◆ totQLat

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

Definition at line 597 of file dram_interface.hh.

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

◆ writeBursts

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

Definition at line 590 of file dram_interface.hh.

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

◆ writeRowHitRate

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

Definition at line 610 of file dram_interface.hh.

◆ writeRowHits

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

Definition at line 608 of file dram_interface.hh.

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


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

Generated on Mon Jul 10 2023 15:33:16 for gem5 by doxygen 1.9.7