gem5 v25.0.0.1
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()

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 avgBusLat, avgMemAccLat, avgQLat, avgRdBW, avgWrBW, busUtil, busUtilRead, busUtilWrite, bytesPerBank, gem5::sim_clock::Frequency, gem5::statistics::nozero, nvm, nvmBytesRead, nvmBytesWritten, peakBW, pendingReads, pendingWrites, perBankRdBursts, perBankWrBursts, readBursts, gem5::simSeconds, totBusLat, totMemAccLat, and totQLat.

Member Data Documentation

◆ avgBusLat

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

Definition at line 125 of file nvm_interface.hh.

Referenced by NVMStats(), and regStats().

◆ avgMemAccLat

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

Definition at line 126 of file nvm_interface.hh.

Referenced by NVMStats(), and regStats().

◆ avgQLat

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

Definition at line 124 of file nvm_interface.hh.

Referenced by NVMStats(), and regStats().

◆ avgRdBW

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

Definition at line 132 of file nvm_interface.hh.

Referenced by NVMStats(), and regStats().

◆ avgWrBW

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

Definition at line 133 of file nvm_interface.hh.

Referenced by NVMStats(), and regStats().

◆ busUtil

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

Definition at line 135 of file nvm_interface.hh.

Referenced by NVMStats(), and regStats().

◆ busUtilRead

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

Definition at line 136 of file nvm_interface.hh.

Referenced by NVMStats(), and regStats().

◆ busUtilWrite

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

Definition at line 137 of file nvm_interface.hh.

Referenced by NVMStats(), and regStats().

◆ bytesPerBank

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

Definition at line 142 of file nvm_interface.hh.

Referenced by NVMStats(), and regStats().

◆ nvm

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

Definition at line 109 of file nvm_interface.hh.

Referenced by NVMStats(), and regStats().

◆ nvmBytesRead

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

Definition at line 128 of file nvm_interface.hh.

Referenced by NVMStats(), and regStats().

◆ nvmBytesWritten

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

Definition at line 129 of file nvm_interface.hh.

Referenced by NVMStats(), and regStats().

◆ peakBW

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

Definition at line 134 of file nvm_interface.hh.

Referenced by NVMStats(), and regStats().

◆ pendingReads

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

NVM stats.

Definition at line 140 of file nvm_interface.hh.

Referenced by NVMStats(), and regStats().

◆ pendingWrites

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

Definition at line 141 of file nvm_interface.hh.

Referenced by NVMStats(), and regStats().

◆ perBankRdBursts

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

Definition at line 115 of file nvm_interface.hh.

Referenced by NVMStats(), and regStats().

◆ perBankWrBursts

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

Definition at line 116 of file nvm_interface.hh.

Referenced by NVMStats(), and regStats().

◆ readBursts

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

NVM stats.

Definition at line 112 of file nvm_interface.hh.

Referenced by NVMStats(), and regStats().

◆ totBusLat

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

Definition at line 120 of file nvm_interface.hh.

Referenced by NVMStats(), and regStats().

◆ totMemAccLat

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

Definition at line 121 of file nvm_interface.hh.

Referenced by NVMStats(), and regStats().

◆ totQLat

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

Definition at line 119 of file nvm_interface.hh.

Referenced by NVMStats(), and regStats().

◆ writeBursts

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

Definition at line 113 of file nvm_interface.hh.

Referenced by NVMStats().


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

Generated on Sat Oct 18 2025 08:06:59 for gem5 by doxygen 1.14.0