gem5
v20.1.0.0
|
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 Info * | resolveStat (std::string name) const |
Resolve a stat by its name within this group. More... | |
Group ()=delete | |
Group (const Group &)=delete | |
Group & | operator= (const Group &)=delete |
Definition at line 526 of file mem_ctrl.hh.
MemCtrl::CtrlStats::CtrlStats | ( | MemCtrl & | ctrl | ) |
Definition at line 1174 of file mem_ctrl.cc.
|
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.
Stats::Formula MemCtrl::CtrlStats::avgGap |
Definition at line 563 of file mem_ctrl.hh.
Stats::Formula MemCtrl::CtrlStats::avgRdBWSys |
Definition at line 559 of file mem_ctrl.hh.
Stats::Average MemCtrl::CtrlStats::avgRdQLen |
Definition at line 543 of file mem_ctrl.hh.
Referenced by MemCtrl::addToReadQueue().
Stats::Formula MemCtrl::CtrlStats::avgWrBWSys |
Definition at line 560 of file mem_ctrl.hh.
Stats::Average MemCtrl::CtrlStats::avgWrQLen |
Definition at line 544 of file mem_ctrl.hh.
Referenced by MemCtrl::addToWriteQueue().
Stats::Scalar MemCtrl::CtrlStats::bytesReadSys |
Definition at line 556 of file mem_ctrl.hh.
Referenced by MemCtrl::recvTimingReq().
Stats::Scalar MemCtrl::CtrlStats::bytesReadWrQ |
Definition at line 555 of file mem_ctrl.hh.
Referenced by MemCtrl::addToReadQueue().
Stats::Scalar MemCtrl::CtrlStats::bytesWrittenSys |
Definition at line 557 of file mem_ctrl.hh.
Referenced by MemCtrl::recvTimingReq().
MemCtrl& MemCtrl::CtrlStats::ctrl |
Definition at line 532 of file mem_ctrl.hh.
Stats::Scalar MemCtrl::CtrlStats::mergedWrBursts |
Definition at line 540 of file mem_ctrl.hh.
Referenced by MemCtrl::addToWriteQueue().
Stats::Scalar MemCtrl::CtrlStats::neitherReadNorWriteReqs |
Definition at line 541 of file mem_ctrl.hh.
Stats::Scalar MemCtrl::CtrlStats::numRdRetry |
Definition at line 546 of file mem_ctrl.hh.
Referenced by MemCtrl::recvTimingReq().
Stats::Scalar MemCtrl::CtrlStats::numWrRetry |
Definition at line 547 of file mem_ctrl.hh.
Referenced by MemCtrl::recvTimingReq().
Stats::Histogram MemCtrl::CtrlStats::rdPerTurnAround |
Definition at line 552 of file mem_ctrl.hh.
Referenced by MemCtrl::processNextReqEvent().
Stats::Vector MemCtrl::CtrlStats::rdQLenPdf |
Definition at line 550 of file mem_ctrl.hh.
Referenced by MemCtrl::addToReadQueue().
Stats::Scalar MemCtrl::CtrlStats::readBursts |
Definition at line 537 of file mem_ctrl.hh.
Referenced by MemCtrl::addToReadQueue().
Stats::Vector MemCtrl::CtrlStats::readPktSize |
Definition at line 548 of file mem_ctrl.hh.
Referenced by MemCtrl::addToReadQueue().
Stats::Scalar MemCtrl::CtrlStats::readReqs |
Definition at line 535 of file mem_ctrl.hh.
Referenced by MemCtrl::recvTimingReq().
Stats::Vector MemCtrl::CtrlStats::requestorReadAccesses |
Definition at line 574 of file mem_ctrl.hh.
Referenced by MemCtrl::addToReadQueue().
Stats::Formula MemCtrl::CtrlStats::requestorReadAvgLat |
Definition at line 582 of file mem_ctrl.hh.
Stats::Vector MemCtrl::CtrlStats::requestorReadBytes |
Definition at line 566 of file mem_ctrl.hh.
Referenced by MemCtrl::doBurstAccess().
Stats::Formula MemCtrl::CtrlStats::requestorReadRate |
Definition at line 570 of file mem_ctrl.hh.
Stats::Vector MemCtrl::CtrlStats::requestorReadTotalLat |
Definition at line 578 of file mem_ctrl.hh.
Referenced by MemCtrl::doBurstAccess().
Stats::Vector MemCtrl::CtrlStats::requestorWriteAccesses |
Definition at line 575 of file mem_ctrl.hh.
Referenced by MemCtrl::addToWriteQueue().
Stats::Formula MemCtrl::CtrlStats::requestorWriteAvgLat |
Definition at line 583 of file mem_ctrl.hh.
Stats::Vector MemCtrl::CtrlStats::requestorWriteBytes |
Definition at line 567 of file mem_ctrl.hh.
Referenced by MemCtrl::doBurstAccess().
Stats::Formula MemCtrl::CtrlStats::requestorWriteRate |
Definition at line 571 of file mem_ctrl.hh.
Stats::Vector MemCtrl::CtrlStats::requestorWriteTotalLat |
Definition at line 579 of file mem_ctrl.hh.
Referenced by MemCtrl::doBurstAccess().
Stats::Scalar MemCtrl::CtrlStats::servicedByWrQ |
Definition at line 539 of file mem_ctrl.hh.
Referenced by MemCtrl::addToReadQueue().
Stats::Scalar MemCtrl::CtrlStats::totGap |
Definition at line 562 of file mem_ctrl.hh.
Referenced by MemCtrl::recvTimingReq().
Stats::Scalar MemCtrl::CtrlStats::writeBursts |
Definition at line 538 of file mem_ctrl.hh.
Referenced by MemCtrl::addToWriteQueue().
Stats::Vector MemCtrl::CtrlStats::writePktSize |
Definition at line 549 of file mem_ctrl.hh.
Referenced by MemCtrl::addToWriteQueue().
Stats::Scalar MemCtrl::CtrlStats::writeReqs |
Definition at line 536 of file mem_ctrl.hh.
Referenced by MemCtrl::recvTimingReq().
Stats::Histogram MemCtrl::CtrlStats::wrPerTurnAround |
Definition at line 553 of file mem_ctrl.hh.
Referenced by MemCtrl::processNextReqEvent().
Stats::Vector MemCtrl::CtrlStats::wrQLenPdf |
Definition at line 551 of file mem_ctrl.hh.
Referenced by MemCtrl::addToWriteQueue().