gem5  v22.0.0.2
Public Member Functions | Public Attributes | List of all members
gem5::memory::DRAMInterface::DRAMStats Struct Reference
Inheritance diagram for gem5::memory::DRAMInterface::DRAMStats:

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

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 568 of file dram_interface.hh.

Constructor & Destructor Documentation

◆ DRAMStats()

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

Definition at line 1843 of file

Member Function Documentation

◆ regStats()

void gem5::memory::DRAMInterface::DRAMStats::regStats ( )

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 1915 of file

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

◆ resetStats()

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

Callback to reset stats.

Reimplemented from gem5::statistics::Group.

Definition at line 1838 of file

References gem5::curTick().

Member Data Documentation

◆ avgBusLat

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

Definition at line 592 of file dram_interface.hh.

◆ avgMemAccLat

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

Definition at line 593 of file dram_interface.hh.

◆ avgQLat

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

Definition at line 591 of file dram_interface.hh.

◆ avgRdBW

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

Definition at line 606 of file dram_interface.hh.

◆ avgWrBW

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

Definition at line 607 of file dram_interface.hh.

◆ busUtil

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

Definition at line 610 of file dram_interface.hh.

◆ busUtilRead

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

Definition at line 611 of file dram_interface.hh.

◆ busUtilWrite

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

Definition at line 612 of file dram_interface.hh.

◆ bytesPerActivate

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

Definition at line 600 of file dram_interface.hh.

◆ bytesRead

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

Definition at line 602 of file dram_interface.hh.

◆ bytesWritten

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

Definition at line 603 of file dram_interface.hh.

◆ dram

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

Definition at line 575 of file dram_interface.hh.

◆ pageHitRate

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

Definition at line 613 of file dram_interface.hh.

◆ peakBW

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

Definition at line 608 of file dram_interface.hh.

◆ perBankRdBursts

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

DRAM per bank stats.

Definition at line 582 of file dram_interface.hh.

◆ perBankWrBursts

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

Definition at line 583 of file dram_interface.hh.

◆ readBursts

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

total number of DRAM bursts serviced

Definition at line 578 of file dram_interface.hh.

◆ readRowHitRate

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

Definition at line 598 of file dram_interface.hh.

◆ readRowHits

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

Definition at line 596 of file dram_interface.hh.

◆ totBusLat

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

Definition at line 587 of file dram_interface.hh.

◆ totMemAccLat

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

Definition at line 588 of file dram_interface.hh.

◆ totQLat

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

Definition at line 586 of file dram_interface.hh.

◆ writeBursts

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

Definition at line 579 of file dram_interface.hh.

◆ writeRowHitRate

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

Definition at line 599 of file dram_interface.hh.

◆ writeRowHits

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

Definition at line 597 of file dram_interface.hh.

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

Generated on Thu Jul 28 2022 13:34:08 for gem5 by doxygen 1.8.17