gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::memory::NVMInterface::NVMStats Struct Reference
Inheritance diagram for gem5::memory::NVMInterface::NVMStats:
gem5::statistics::Group

Public Member Functions

 NVMStats (NVMInterface &nvm)
 
void regStats () override
 Callback to set stat parameters.
 
- Public Member Functions inherited from gem5::statistics::Group
 Group (Group *parent, const char *name=nullptr)
 Construct a new statistics group.
 
virtual ~Group ()
 
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 ()=delete
 
 Group (const Group &)=delete
 
Groupoperator= (const Group &)=delete
 

Public Attributes

NVMInterfacenvm
 
statistics::Scalar readBursts
 NVM stats.
 
statistics::Scalar writeBursts
 
statistics::Vector perBankRdBursts
 
statistics::Vector perBankWrBursts
 
statistics::Scalar totQLat
 
statistics::Scalar totBusLat
 
statistics::Scalar totMemAccLat
 
statistics::Formula avgQLat
 
statistics::Formula avgBusLat
 
statistics::Formula avgMemAccLat
 
statistics::Scalar nvmBytesRead
 
statistics::Scalar nvmBytesWritten
 
statistics::Formula avgRdBW
 
statistics::Formula avgWrBW
 
statistics::Formula peakBW
 
statistics::Formula busUtil
 
statistics::Formula busUtilRead
 
statistics::Formula busUtilWrite
 
statistics::Histogram pendingReads
 NVM stats.
 
statistics::Histogram pendingWrites
 
statistics::Histogram bytesPerBank
 

Detailed Description

Definition at line 103 of file nvm_interface.hh.

Constructor & Destructor Documentation

◆ NVMStats()

gem5::memory::NVMInterface::NVMStats::NVMStats ( NVMInterface & nvm)

Definition at line 622 of file nvm_interface.cc.

Member Function Documentation

◆ regStats()

void gem5::memory::NVMInterface::NVMStats::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 685 of file nvm_interface.cc.

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

Member Data Documentation

◆ avgBusLat

statistics::Formula gem5::memory::NVMInterface::NVMStats::avgBusLat

Definition at line 125 of file nvm_interface.hh.

◆ avgMemAccLat

statistics::Formula gem5::memory::NVMInterface::NVMStats::avgMemAccLat

Definition at line 126 of file nvm_interface.hh.

◆ avgQLat

statistics::Formula gem5::memory::NVMInterface::NVMStats::avgQLat

Definition at line 124 of file nvm_interface.hh.

◆ avgRdBW

statistics::Formula gem5::memory::NVMInterface::NVMStats::avgRdBW

Definition at line 132 of file nvm_interface.hh.

◆ avgWrBW

statistics::Formula gem5::memory::NVMInterface::NVMStats::avgWrBW

Definition at line 133 of file nvm_interface.hh.

◆ busUtil

statistics::Formula gem5::memory::NVMInterface::NVMStats::busUtil

Definition at line 135 of file nvm_interface.hh.

◆ busUtilRead

statistics::Formula gem5::memory::NVMInterface::NVMStats::busUtilRead

Definition at line 136 of file nvm_interface.hh.

◆ busUtilWrite

statistics::Formula gem5::memory::NVMInterface::NVMStats::busUtilWrite

Definition at line 137 of file nvm_interface.hh.

◆ bytesPerBank

statistics::Histogram gem5::memory::NVMInterface::NVMStats::bytesPerBank

◆ nvm

NVMInterface& gem5::memory::NVMInterface::NVMStats::nvm

Definition at line 109 of file nvm_interface.hh.

◆ nvmBytesRead

statistics::Scalar gem5::memory::NVMInterface::NVMStats::nvmBytesRead

Definition at line 128 of file nvm_interface.hh.

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

◆ nvmBytesWritten

statistics::Scalar gem5::memory::NVMInterface::NVMStats::nvmBytesWritten

Definition at line 129 of file nvm_interface.hh.

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

◆ peakBW

statistics::Formula gem5::memory::NVMInterface::NVMStats::peakBW

Definition at line 134 of file nvm_interface.hh.

◆ pendingReads

statistics::Histogram gem5::memory::NVMInterface::NVMStats::pendingReads

NVM stats.

Definition at line 140 of file nvm_interface.hh.

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

◆ pendingWrites

statistics::Histogram gem5::memory::NVMInterface::NVMStats::pendingWrites

◆ perBankRdBursts

statistics::Vector gem5::memory::NVMInterface::NVMStats::perBankRdBursts

Definition at line 115 of file nvm_interface.hh.

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

◆ perBankWrBursts

statistics::Vector gem5::memory::NVMInterface::NVMStats::perBankWrBursts

Definition at line 116 of file nvm_interface.hh.

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

◆ readBursts

statistics::Scalar gem5::memory::NVMInterface::NVMStats::readBursts

NVM stats.

Definition at line 112 of file nvm_interface.hh.

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

◆ totBusLat

statistics::Scalar gem5::memory::NVMInterface::NVMStats::totBusLat

Definition at line 120 of file nvm_interface.hh.

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

◆ totMemAccLat

statistics::Scalar gem5::memory::NVMInterface::NVMStats::totMemAccLat

Definition at line 121 of file nvm_interface.hh.

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

◆ totQLat

statistics::Scalar gem5::memory::NVMInterface::NVMStats::totQLat

Definition at line 119 of file nvm_interface.hh.

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

◆ writeBursts

statistics::Scalar gem5::memory::NVMInterface::NVMStats::writeBursts

Definition at line 113 of file nvm_interface.hh.

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


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

Generated on Tue Jun 18 2024 16:24:19 for gem5 by doxygen 1.11.0