gem5  v21.1.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 1067 of file mem_interface.hh.

Constructor & Destructor Documentation

◆ NVMStats()

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

Definition at line 2521 of file mem_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 2582 of file mem_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 1089 of file mem_interface.hh.

◆ avgMemAccLat

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

Definition at line 1090 of file mem_interface.hh.

◆ avgQLat

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

Definition at line 1088 of file mem_interface.hh.

◆ avgRdBW

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

Definition at line 1096 of file mem_interface.hh.

◆ avgWrBW

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

Definition at line 1097 of file mem_interface.hh.

◆ busUtil

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

Definition at line 1099 of file mem_interface.hh.

◆ busUtilRead

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

Definition at line 1100 of file mem_interface.hh.

◆ busUtilWrite

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

Definition at line 1101 of file mem_interface.hh.

◆ bytesPerBank

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

◆ bytesRead

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

Definition at line 1092 of file mem_interface.hh.

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

◆ bytesWritten

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

Definition at line 1093 of file mem_interface.hh.

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

◆ nvm

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

Definition at line 1073 of file mem_interface.hh.

◆ peakBW

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

Definition at line 1098 of file mem_interface.hh.

◆ pendingReads

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

NVM stats.

Definition at line 1104 of file mem_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 1079 of file mem_interface.hh.

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

◆ perBankWrBursts

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

Definition at line 1080 of file mem_interface.hh.

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

◆ readBursts

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

NVM stats.

Definition at line 1076 of file mem_interface.hh.

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

◆ totBusLat

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

Definition at line 1084 of file mem_interface.hh.

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

◆ totMemAccLat

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

Definition at line 1085 of file mem_interface.hh.

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

◆ totQLat

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

Definition at line 1083 of file mem_interface.hh.

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

◆ writeBursts

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

Definition at line 1077 of file mem_interface.hh.

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


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

Generated on Tue Sep 21 2021 12:31:28 for gem5 by doxygen 1.8.17