gem5  v20.1.0.0
Public Member Functions | Public Attributes | List of all members
NVMInterface::NVMStats Struct Reference
Inheritance diagram for NVMInterface::NVMStats:
Stats::Group

Public Member Functions

 NVMStats (NVMInterface &nvm)
 
void regStats () override
 Callback to set stat parameters. More...
 
- Public Member Functions inherited from Stats::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 (Stats::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...
 
 Group ()=delete
 
 Group (const Group &)=delete
 
Groupoperator= (const Group &)=delete
 

Public Attributes

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

Detailed Description

Definition at line 1060 of file mem_interface.hh.

Constructor & Destructor Documentation

◆ NVMStats()

NVMInterface::NVMStats::NVMStats ( NVMInterface nvm)

Definition at line 2487 of file mem_interface.cc.

Member Function Documentation

◆ regStats()

void 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 Stats::Group.

Definition at line 2524 of file mem_interface.cc.

References SimClock::Frequency, Stats::nozero, and simSeconds.

Member Data Documentation

◆ avgBusLat

Stats::Formula NVMInterface::NVMStats::avgBusLat

Definition at line 1082 of file mem_interface.hh.

◆ avgMemAccLat

Stats::Formula NVMInterface::NVMStats::avgMemAccLat

Definition at line 1083 of file mem_interface.hh.

◆ avgQLat

Stats::Formula NVMInterface::NVMStats::avgQLat

Definition at line 1081 of file mem_interface.hh.

◆ avgRdBW

Stats::Formula NVMInterface::NVMStats::avgRdBW

Definition at line 1089 of file mem_interface.hh.

◆ avgWrBW

Stats::Formula NVMInterface::NVMStats::avgWrBW

Definition at line 1090 of file mem_interface.hh.

◆ busUtil

Stats::Formula NVMInterface::NVMStats::busUtil

Definition at line 1092 of file mem_interface.hh.

◆ busUtilRead

Stats::Formula NVMInterface::NVMStats::busUtilRead

Definition at line 1093 of file mem_interface.hh.

◆ busUtilWrite

Stats::Formula NVMInterface::NVMStats::busUtilWrite

Definition at line 1094 of file mem_interface.hh.

◆ bytesPerBank

Stats::Histogram NVMInterface::NVMStats::bytesPerBank

Definition at line 1099 of file mem_interface.hh.

Referenced by NVMInterface::chooseRead(), and NVMInterface::doBurstAccess().

◆ bytesRead

Stats::Scalar NVMInterface::NVMStats::bytesRead

Definition at line 1085 of file mem_interface.hh.

Referenced by NVMInterface::doBurstAccess().

◆ bytesWritten

Stats::Scalar NVMInterface::NVMStats::bytesWritten

Definition at line 1086 of file mem_interface.hh.

Referenced by NVMInterface::doBurstAccess().

◆ nvm

NVMInterface& NVMInterface::NVMStats::nvm

Definition at line 1066 of file mem_interface.hh.

◆ peakBW

Stats::Formula NVMInterface::NVMStats::peakBW

Definition at line 1091 of file mem_interface.hh.

◆ pendingReads

Stats::Histogram NVMInterface::NVMStats::pendingReads

NVM stats.

Definition at line 1097 of file mem_interface.hh.

Referenced by NVMInterface::doBurstAccess().

◆ pendingWrites

Stats::Histogram NVMInterface::NVMStats::pendingWrites

Definition at line 1098 of file mem_interface.hh.

Referenced by NVMInterface::processWriteRespondEvent().

◆ perBankRdBursts

Stats::Vector NVMInterface::NVMStats::perBankRdBursts

Definition at line 1072 of file mem_interface.hh.

Referenced by NVMInterface::doBurstAccess().

◆ perBankWrBursts

Stats::Vector NVMInterface::NVMStats::perBankWrBursts

Definition at line 1073 of file mem_interface.hh.

Referenced by NVMInterface::doBurstAccess().

◆ readBursts

Stats::Scalar NVMInterface::NVMStats::readBursts

NVM stats.

Definition at line 1069 of file mem_interface.hh.

Referenced by NVMInterface::doBurstAccess().

◆ totBusLat

Stats::Scalar NVMInterface::NVMStats::totBusLat

Definition at line 1077 of file mem_interface.hh.

Referenced by NVMInterface::doBurstAccess().

◆ totMemAccLat

Stats::Scalar NVMInterface::NVMStats::totMemAccLat

Definition at line 1078 of file mem_interface.hh.

Referenced by NVMInterface::doBurstAccess().

◆ totQLat

Stats::Scalar NVMInterface::NVMStats::totQLat

Definition at line 1076 of file mem_interface.hh.

Referenced by NVMInterface::doBurstAccess().

◆ writeBursts

Stats::Scalar NVMInterface::NVMStats::writeBursts

Definition at line 1070 of file mem_interface.hh.

Referenced by NVMInterface::doBurstAccess().


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

Generated on Wed Sep 30 2020 14:02:28 for gem5 by doxygen 1.8.17