gem5  v22.0.0.2
Public Member Functions | Public Attributes | List of all members
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. 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 resetStats ()
 Callback to reset stats. More...
 
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

NVMInterfacenvm
 
statistics::Scalar readBursts
 NVM stats. More...
 
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 bytesRead
 
statistics::Scalar bytesWritten
 
statistics::Formula avgRdBW
 
statistics::Formula avgWrBW
 
statistics::Formula peakBW
 
statistics::Formula busUtil
 
statistics::Formula busUtilRead
 
statistics::Formula busUtilWrite
 
statistics::Histogram pendingReads
 NVM stats. More...
 
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 680 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

◆ bytesRead

statistics::Scalar gem5::memory::NVMInterface::NVMStats::bytesRead

Definition at line 128 of file nvm_interface.hh.

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

◆ bytesWritten

statistics::Scalar gem5::memory::NVMInterface::NVMStats::bytesWritten

Definition at line 129 of file nvm_interface.hh.

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

◆ nvm

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

Definition at line 109 of file nvm_interface.hh.

◆ 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 Thu Jul 28 2022 13:34:08 for gem5 by doxygen 1.8.17