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

Public Member Functions

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

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

Detailed Description

Definition at line 526 of file mem_ctrl.hh.

Constructor & Destructor Documentation

◆ CtrlStats()

MemCtrl::CtrlStats::CtrlStats ( MemCtrl ctrl)

Definition at line 1174 of file mem_ctrl.cc.

Member Function Documentation

◆ regStats()

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

Definition at line 1246 of file mem_ctrl.cc.

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

Member Data Documentation

◆ avgGap

Stats::Formula MemCtrl::CtrlStats::avgGap

Definition at line 563 of file mem_ctrl.hh.

◆ avgRdBWSys

Stats::Formula MemCtrl::CtrlStats::avgRdBWSys

Definition at line 559 of file mem_ctrl.hh.

◆ avgRdQLen

Stats::Average MemCtrl::CtrlStats::avgRdQLen

Definition at line 543 of file mem_ctrl.hh.

Referenced by MemCtrl::addToReadQueue().

◆ avgWrBWSys

Stats::Formula MemCtrl::CtrlStats::avgWrBWSys

Definition at line 560 of file mem_ctrl.hh.

◆ avgWrQLen

Stats::Average MemCtrl::CtrlStats::avgWrQLen

Definition at line 544 of file mem_ctrl.hh.

Referenced by MemCtrl::addToWriteQueue().

◆ bytesReadSys

Stats::Scalar MemCtrl::CtrlStats::bytesReadSys

Definition at line 556 of file mem_ctrl.hh.

Referenced by MemCtrl::recvTimingReq().

◆ bytesReadWrQ

Stats::Scalar MemCtrl::CtrlStats::bytesReadWrQ

Definition at line 555 of file mem_ctrl.hh.

Referenced by MemCtrl::addToReadQueue().

◆ bytesWrittenSys

Stats::Scalar MemCtrl::CtrlStats::bytesWrittenSys

Definition at line 557 of file mem_ctrl.hh.

Referenced by MemCtrl::recvTimingReq().

◆ ctrl

MemCtrl& MemCtrl::CtrlStats::ctrl

Definition at line 532 of file mem_ctrl.hh.

◆ mergedWrBursts

Stats::Scalar MemCtrl::CtrlStats::mergedWrBursts

Definition at line 540 of file mem_ctrl.hh.

Referenced by MemCtrl::addToWriteQueue().

◆ neitherReadNorWriteReqs

Stats::Scalar MemCtrl::CtrlStats::neitherReadNorWriteReqs

Definition at line 541 of file mem_ctrl.hh.

◆ numRdRetry

Stats::Scalar MemCtrl::CtrlStats::numRdRetry

Definition at line 546 of file mem_ctrl.hh.

Referenced by MemCtrl::recvTimingReq().

◆ numWrRetry

Stats::Scalar MemCtrl::CtrlStats::numWrRetry

Definition at line 547 of file mem_ctrl.hh.

Referenced by MemCtrl::recvTimingReq().

◆ rdPerTurnAround

Stats::Histogram MemCtrl::CtrlStats::rdPerTurnAround

Definition at line 552 of file mem_ctrl.hh.

Referenced by MemCtrl::processNextReqEvent().

◆ rdQLenPdf

Stats::Vector MemCtrl::CtrlStats::rdQLenPdf

Definition at line 550 of file mem_ctrl.hh.

Referenced by MemCtrl::addToReadQueue().

◆ readBursts

Stats::Scalar MemCtrl::CtrlStats::readBursts

Definition at line 537 of file mem_ctrl.hh.

Referenced by MemCtrl::addToReadQueue().

◆ readPktSize

Stats::Vector MemCtrl::CtrlStats::readPktSize

Definition at line 548 of file mem_ctrl.hh.

Referenced by MemCtrl::addToReadQueue().

◆ readReqs

Stats::Scalar MemCtrl::CtrlStats::readReqs

Definition at line 535 of file mem_ctrl.hh.

Referenced by MemCtrl::recvTimingReq().

◆ requestorReadAccesses

Stats::Vector MemCtrl::CtrlStats::requestorReadAccesses

Definition at line 574 of file mem_ctrl.hh.

Referenced by MemCtrl::addToReadQueue().

◆ requestorReadAvgLat

Stats::Formula MemCtrl::CtrlStats::requestorReadAvgLat

Definition at line 582 of file mem_ctrl.hh.

◆ requestorReadBytes

Stats::Vector MemCtrl::CtrlStats::requestorReadBytes

Definition at line 566 of file mem_ctrl.hh.

Referenced by MemCtrl::doBurstAccess().

◆ requestorReadRate

Stats::Formula MemCtrl::CtrlStats::requestorReadRate

Definition at line 570 of file mem_ctrl.hh.

◆ requestorReadTotalLat

Stats::Vector MemCtrl::CtrlStats::requestorReadTotalLat

Definition at line 578 of file mem_ctrl.hh.

Referenced by MemCtrl::doBurstAccess().

◆ requestorWriteAccesses

Stats::Vector MemCtrl::CtrlStats::requestorWriteAccesses

Definition at line 575 of file mem_ctrl.hh.

Referenced by MemCtrl::addToWriteQueue().

◆ requestorWriteAvgLat

Stats::Formula MemCtrl::CtrlStats::requestorWriteAvgLat

Definition at line 583 of file mem_ctrl.hh.

◆ requestorWriteBytes

Stats::Vector MemCtrl::CtrlStats::requestorWriteBytes

Definition at line 567 of file mem_ctrl.hh.

Referenced by MemCtrl::doBurstAccess().

◆ requestorWriteRate

Stats::Formula MemCtrl::CtrlStats::requestorWriteRate

Definition at line 571 of file mem_ctrl.hh.

◆ requestorWriteTotalLat

Stats::Vector MemCtrl::CtrlStats::requestorWriteTotalLat

Definition at line 579 of file mem_ctrl.hh.

Referenced by MemCtrl::doBurstAccess().

◆ servicedByWrQ

Stats::Scalar MemCtrl::CtrlStats::servicedByWrQ

Definition at line 539 of file mem_ctrl.hh.

Referenced by MemCtrl::addToReadQueue().

◆ totGap

Stats::Scalar MemCtrl::CtrlStats::totGap

Definition at line 562 of file mem_ctrl.hh.

Referenced by MemCtrl::recvTimingReq().

◆ writeBursts

Stats::Scalar MemCtrl::CtrlStats::writeBursts

Definition at line 538 of file mem_ctrl.hh.

Referenced by MemCtrl::addToWriteQueue().

◆ writePktSize

Stats::Vector MemCtrl::CtrlStats::writePktSize

Definition at line 549 of file mem_ctrl.hh.

Referenced by MemCtrl::addToWriteQueue().

◆ writeReqs

Stats::Scalar MemCtrl::CtrlStats::writeReqs

Definition at line 536 of file mem_ctrl.hh.

Referenced by MemCtrl::recvTimingReq().

◆ wrPerTurnAround

Stats::Histogram MemCtrl::CtrlStats::wrPerTurnAround

Definition at line 553 of file mem_ctrl.hh.

Referenced by MemCtrl::processNextReqEvent().

◆ wrQLenPdf

Stats::Vector MemCtrl::CtrlStats::wrQLenPdf

Definition at line 551 of file mem_ctrl.hh.

Referenced by MemCtrl::addToWriteQueue().


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

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