gem5  v21.1.0.2
Public Member Functions | Public Attributes | List of all members
gem5::memory::MemCtrl::CtrlStats Struct Reference
Inheritance diagram for gem5::memory::MemCtrl::CtrlStats:
gem5::statistics::Group

Public Member Functions

 CtrlStats (MemCtrl &ctrl)
 
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

MemCtrlctrl
 
statistics::Scalar readReqs
 
statistics::Scalar writeReqs
 
statistics::Scalar readBursts
 
statistics::Scalar writeBursts
 
statistics::Scalar servicedByWrQ
 
statistics::Scalar mergedWrBursts
 
statistics::Scalar neitherReadNorWriteReqs
 
statistics::Average avgRdQLen
 
statistics::Average avgWrQLen
 
statistics::Scalar numRdRetry
 
statistics::Scalar numWrRetry
 
statistics::Vector readPktSize
 
statistics::Vector writePktSize
 
statistics::Vector rdQLenPdf
 
statistics::Vector wrQLenPdf
 
statistics::Histogram rdPerTurnAround
 
statistics::Histogram wrPerTurnAround
 
statistics::Scalar bytesReadWrQ
 
statistics::Scalar bytesReadSys
 
statistics::Scalar bytesWrittenSys
 
statistics::Formula avgRdBWSys
 
statistics::Formula avgWrBWSys
 
statistics::Scalar totGap
 
statistics::Formula avgGap
 
statistics::Vector requestorReadBytes
 
statistics::Vector requestorWriteBytes
 
statistics::Formula requestorReadRate
 
statistics::Formula requestorWriteRate
 
statistics::Vector requestorReadAccesses
 
statistics::Vector requestorWriteAccesses
 
statistics::Vector requestorReadTotalLat
 
statistics::Vector requestorWriteTotalLat
 
statistics::Formula requestorReadAvgLat
 
statistics::Formula requestorWriteAvgLat
 

Detailed Description

Definition at line 534 of file mem_ctrl.hh.

Constructor & Destructor Documentation

◆ CtrlStats()

gem5::memory::MemCtrl::CtrlStats::CtrlStats ( MemCtrl ctrl)

Definition at line 1191 of file mem_ctrl.cc.

Member Function Documentation

◆ regStats()

void gem5::memory::MemCtrl::CtrlStats::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 1288 of file mem_ctrl.cc.

References gem5::ceilLog2(), gem5::ArmISA::i, gem5::statistics::nonan, gem5::statistics::nozero, and gem5::simSeconds.

Member Data Documentation

◆ avgGap

statistics::Formula gem5::memory::MemCtrl::CtrlStats::avgGap

Definition at line 571 of file mem_ctrl.hh.

◆ avgRdBWSys

statistics::Formula gem5::memory::MemCtrl::CtrlStats::avgRdBWSys

Definition at line 567 of file mem_ctrl.hh.

◆ avgRdQLen

statistics::Average gem5::memory::MemCtrl::CtrlStats::avgRdQLen

Definition at line 551 of file mem_ctrl.hh.

Referenced by gem5::memory::MemCtrl::addToReadQueue().

◆ avgWrBWSys

statistics::Formula gem5::memory::MemCtrl::CtrlStats::avgWrBWSys

Definition at line 568 of file mem_ctrl.hh.

◆ avgWrQLen

statistics::Average gem5::memory::MemCtrl::CtrlStats::avgWrQLen

Definition at line 552 of file mem_ctrl.hh.

Referenced by gem5::memory::MemCtrl::addToWriteQueue().

◆ bytesReadSys

statistics::Scalar gem5::memory::MemCtrl::CtrlStats::bytesReadSys

Definition at line 564 of file mem_ctrl.hh.

Referenced by gem5::memory::MemCtrl::recvTimingReq().

◆ bytesReadWrQ

statistics::Scalar gem5::memory::MemCtrl::CtrlStats::bytesReadWrQ

Definition at line 563 of file mem_ctrl.hh.

Referenced by gem5::memory::MemCtrl::addToReadQueue().

◆ bytesWrittenSys

statistics::Scalar gem5::memory::MemCtrl::CtrlStats::bytesWrittenSys

Definition at line 565 of file mem_ctrl.hh.

Referenced by gem5::memory::MemCtrl::recvTimingReq().

◆ ctrl

MemCtrl& gem5::memory::MemCtrl::CtrlStats::ctrl

Definition at line 540 of file mem_ctrl.hh.

◆ mergedWrBursts

statistics::Scalar gem5::memory::MemCtrl::CtrlStats::mergedWrBursts

Definition at line 548 of file mem_ctrl.hh.

Referenced by gem5::memory::MemCtrl::addToWriteQueue().

◆ neitherReadNorWriteReqs

statistics::Scalar gem5::memory::MemCtrl::CtrlStats::neitherReadNorWriteReqs

Definition at line 549 of file mem_ctrl.hh.

◆ numRdRetry

statistics::Scalar gem5::memory::MemCtrl::CtrlStats::numRdRetry

Definition at line 554 of file mem_ctrl.hh.

Referenced by gem5::memory::MemCtrl::recvTimingReq().

◆ numWrRetry

statistics::Scalar gem5::memory::MemCtrl::CtrlStats::numWrRetry

Definition at line 555 of file mem_ctrl.hh.

Referenced by gem5::memory::MemCtrl::recvTimingReq().

◆ rdPerTurnAround

statistics::Histogram gem5::memory::MemCtrl::CtrlStats::rdPerTurnAround

Definition at line 560 of file mem_ctrl.hh.

Referenced by gem5::memory::MemCtrl::processNextReqEvent().

◆ rdQLenPdf

statistics::Vector gem5::memory::MemCtrl::CtrlStats::rdQLenPdf

Definition at line 558 of file mem_ctrl.hh.

Referenced by gem5::memory::MemCtrl::addToReadQueue().

◆ readBursts

statistics::Scalar gem5::memory::MemCtrl::CtrlStats::readBursts

Definition at line 545 of file mem_ctrl.hh.

Referenced by gem5::memory::MemCtrl::addToReadQueue().

◆ readPktSize

statistics::Vector gem5::memory::MemCtrl::CtrlStats::readPktSize

Definition at line 556 of file mem_ctrl.hh.

Referenced by gem5::memory::MemCtrl::addToReadQueue().

◆ readReqs

statistics::Scalar gem5::memory::MemCtrl::CtrlStats::readReqs

Definition at line 543 of file mem_ctrl.hh.

Referenced by gem5::memory::MemCtrl::recvTimingReq().

◆ requestorReadAccesses

statistics::Vector gem5::memory::MemCtrl::CtrlStats::requestorReadAccesses

Definition at line 582 of file mem_ctrl.hh.

Referenced by gem5::memory::MemCtrl::addToReadQueue().

◆ requestorReadAvgLat

statistics::Formula gem5::memory::MemCtrl::CtrlStats::requestorReadAvgLat

Definition at line 590 of file mem_ctrl.hh.

◆ requestorReadBytes

statistics::Vector gem5::memory::MemCtrl::CtrlStats::requestorReadBytes

Definition at line 574 of file mem_ctrl.hh.

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

◆ requestorReadRate

statistics::Formula gem5::memory::MemCtrl::CtrlStats::requestorReadRate

Definition at line 578 of file mem_ctrl.hh.

◆ requestorReadTotalLat

statistics::Vector gem5::memory::MemCtrl::CtrlStats::requestorReadTotalLat

Definition at line 586 of file mem_ctrl.hh.

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

◆ requestorWriteAccesses

statistics::Vector gem5::memory::MemCtrl::CtrlStats::requestorWriteAccesses

Definition at line 583 of file mem_ctrl.hh.

Referenced by gem5::memory::MemCtrl::addToWriteQueue().

◆ requestorWriteAvgLat

statistics::Formula gem5::memory::MemCtrl::CtrlStats::requestorWriteAvgLat

Definition at line 591 of file mem_ctrl.hh.

◆ requestorWriteBytes

statistics::Vector gem5::memory::MemCtrl::CtrlStats::requestorWriteBytes

Definition at line 575 of file mem_ctrl.hh.

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

◆ requestorWriteRate

statistics::Formula gem5::memory::MemCtrl::CtrlStats::requestorWriteRate

Definition at line 579 of file mem_ctrl.hh.

◆ requestorWriteTotalLat

statistics::Vector gem5::memory::MemCtrl::CtrlStats::requestorWriteTotalLat

Definition at line 587 of file mem_ctrl.hh.

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

◆ servicedByWrQ

statistics::Scalar gem5::memory::MemCtrl::CtrlStats::servicedByWrQ

Definition at line 547 of file mem_ctrl.hh.

Referenced by gem5::memory::MemCtrl::addToReadQueue().

◆ totGap

statistics::Scalar gem5::memory::MemCtrl::CtrlStats::totGap

Definition at line 570 of file mem_ctrl.hh.

Referenced by gem5::memory::MemCtrl::recvTimingReq().

◆ writeBursts

statistics::Scalar gem5::memory::MemCtrl::CtrlStats::writeBursts

Definition at line 546 of file mem_ctrl.hh.

Referenced by gem5::memory::MemCtrl::addToWriteQueue().

◆ writePktSize

statistics::Vector gem5::memory::MemCtrl::CtrlStats::writePktSize

Definition at line 557 of file mem_ctrl.hh.

Referenced by gem5::memory::MemCtrl::addToWriteQueue().

◆ writeReqs

statistics::Scalar gem5::memory::MemCtrl::CtrlStats::writeReqs

Definition at line 544 of file mem_ctrl.hh.

Referenced by gem5::memory::MemCtrl::recvTimingReq().

◆ wrPerTurnAround

statistics::Histogram gem5::memory::MemCtrl::CtrlStats::wrPerTurnAround

Definition at line 561 of file mem_ctrl.hh.

Referenced by gem5::memory::MemCtrl::processNextReqEvent().

◆ wrQLenPdf

statistics::Vector gem5::memory::MemCtrl::CtrlStats::wrQLenPdf

Definition at line 559 of file mem_ctrl.hh.

Referenced by gem5::memory::MemCtrl::addToWriteQueue().


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