|
gem5
v22.0.0.2
|
#include <mem_ctrl.hh>
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 Info * | resolveStat (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 | |
| Group & | operator= (const Group &)=delete |
Definition at line 561 of file mem_ctrl.hh.
| gem5::memory::MemCtrl::CtrlStats::CtrlStats | ( | MemCtrl & | ctrl | ) |
Definition at line 1162 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 gem5::statistics::Group.
Definition at line 1260 of file mem_ctrl.cc.
References gem5::ceilLog2(), gem5::ArmISA::i, gem5::statistics::nonan, gem5::statistics::nozero, and gem5::simSeconds.
| statistics::Formula gem5::memory::MemCtrl::CtrlStats::avgGap |
Definition at line 598 of file mem_ctrl.hh.
| statistics::Formula gem5::memory::MemCtrl::CtrlStats::avgRdBWSys |
Definition at line 594 of file mem_ctrl.hh.
| statistics::Average gem5::memory::MemCtrl::CtrlStats::avgRdQLen |
Definition at line 578 of file mem_ctrl.hh.
Referenced by gem5::memory::MemCtrl::addToReadQueue().
| statistics::Formula gem5::memory::MemCtrl::CtrlStats::avgWrBWSys |
Definition at line 595 of file mem_ctrl.hh.
| statistics::Average gem5::memory::MemCtrl::CtrlStats::avgWrQLen |
Definition at line 579 of file mem_ctrl.hh.
Referenced by gem5::memory::MemCtrl::addToWriteQueue().
| statistics::Scalar gem5::memory::MemCtrl::CtrlStats::bytesReadSys |
Definition at line 591 of file mem_ctrl.hh.
Referenced by gem5::memory::HeteroMemCtrl::recvTimingReq(), gem5::memory::HBMCtrl::recvTimingReq(), and gem5::memory::MemCtrl::recvTimingReq().
| statistics::Scalar gem5::memory::MemCtrl::CtrlStats::bytesReadWrQ |
Definition at line 590 of file mem_ctrl.hh.
Referenced by gem5::memory::MemCtrl::addToReadQueue().
| statistics::Scalar gem5::memory::MemCtrl::CtrlStats::bytesWrittenSys |
Definition at line 592 of file mem_ctrl.hh.
Referenced by gem5::memory::HeteroMemCtrl::recvTimingReq(), gem5::memory::HBMCtrl::recvTimingReq(), and gem5::memory::MemCtrl::recvTimingReq().
| MemCtrl& gem5::memory::MemCtrl::CtrlStats::ctrl |
Definition at line 567 of file mem_ctrl.hh.
| statistics::Scalar gem5::memory::MemCtrl::CtrlStats::mergedWrBursts |
Definition at line 575 of file mem_ctrl.hh.
Referenced by gem5::memory::MemCtrl::addToWriteQueue().
| statistics::Scalar gem5::memory::MemCtrl::CtrlStats::neitherReadNorWriteReqs |
Definition at line 576 of file mem_ctrl.hh.
| statistics::Scalar gem5::memory::MemCtrl::CtrlStats::numRdRetry |
Definition at line 581 of file mem_ctrl.hh.
Referenced by gem5::memory::HeteroMemCtrl::recvTimingReq(), gem5::memory::HBMCtrl::recvTimingReq(), and gem5::memory::MemCtrl::recvTimingReq().
| statistics::Scalar gem5::memory::MemCtrl::CtrlStats::numWrRetry |
Definition at line 582 of file mem_ctrl.hh.
Referenced by gem5::memory::HeteroMemCtrl::recvTimingReq(), gem5::memory::HBMCtrl::recvTimingReq(), and gem5::memory::MemCtrl::recvTimingReq().
| statistics::Histogram gem5::memory::MemCtrl::CtrlStats::rdPerTurnAround |
Definition at line 587 of file mem_ctrl.hh.
Referenced by gem5::memory::MemCtrl::processNextReqEvent().
| statistics::Vector gem5::memory::MemCtrl::CtrlStats::rdQLenPdf |
Definition at line 585 of file mem_ctrl.hh.
Referenced by gem5::memory::MemCtrl::addToReadQueue().
| statistics::Scalar gem5::memory::MemCtrl::CtrlStats::readBursts |
Definition at line 572 of file mem_ctrl.hh.
Referenced by gem5::memory::MemCtrl::addToReadQueue().
| statistics::Vector gem5::memory::MemCtrl::CtrlStats::readPktSize |
Definition at line 583 of file mem_ctrl.hh.
Referenced by gem5::memory::MemCtrl::addToReadQueue().
| statistics::Scalar gem5::memory::MemCtrl::CtrlStats::readReqs |
Definition at line 570 of file mem_ctrl.hh.
Referenced by gem5::memory::HeteroMemCtrl::recvTimingReq(), gem5::memory::HBMCtrl::recvTimingReq(), and gem5::memory::MemCtrl::recvTimingReq().
| statistics::Vector gem5::memory::MemCtrl::CtrlStats::requestorReadAccesses |
Definition at line 609 of file mem_ctrl.hh.
Referenced by gem5::memory::MemCtrl::addToReadQueue().
| statistics::Formula gem5::memory::MemCtrl::CtrlStats::requestorReadAvgLat |
Definition at line 617 of file mem_ctrl.hh.
| statistics::Vector gem5::memory::MemCtrl::CtrlStats::requestorReadBytes |
Definition at line 601 of file mem_ctrl.hh.
Referenced by gem5::memory::MemCtrl::doBurstAccess().
| statistics::Formula gem5::memory::MemCtrl::CtrlStats::requestorReadRate |
Definition at line 605 of file mem_ctrl.hh.
| statistics::Vector gem5::memory::MemCtrl::CtrlStats::requestorReadTotalLat |
Definition at line 613 of file mem_ctrl.hh.
Referenced by gem5::memory::MemCtrl::doBurstAccess().
| statistics::Vector gem5::memory::MemCtrl::CtrlStats::requestorWriteAccesses |
Definition at line 610 of file mem_ctrl.hh.
Referenced by gem5::memory::MemCtrl::addToWriteQueue().
| statistics::Formula gem5::memory::MemCtrl::CtrlStats::requestorWriteAvgLat |
Definition at line 618 of file mem_ctrl.hh.
| statistics::Vector gem5::memory::MemCtrl::CtrlStats::requestorWriteBytes |
Definition at line 602 of file mem_ctrl.hh.
Referenced by gem5::memory::MemCtrl::doBurstAccess().
| statistics::Formula gem5::memory::MemCtrl::CtrlStats::requestorWriteRate |
Definition at line 606 of file mem_ctrl.hh.
| statistics::Vector gem5::memory::MemCtrl::CtrlStats::requestorWriteTotalLat |
Definition at line 614 of file mem_ctrl.hh.
Referenced by gem5::memory::MemCtrl::doBurstAccess().
| statistics::Scalar gem5::memory::MemCtrl::CtrlStats::servicedByWrQ |
Definition at line 574 of file mem_ctrl.hh.
Referenced by gem5::memory::MemCtrl::addToReadQueue().
| statistics::Scalar gem5::memory::MemCtrl::CtrlStats::totGap |
Definition at line 597 of file mem_ctrl.hh.
Referenced by gem5::memory::HeteroMemCtrl::recvTimingReq(), gem5::memory::HBMCtrl::recvTimingReq(), and gem5::memory::MemCtrl::recvTimingReq().
| statistics::Scalar gem5::memory::MemCtrl::CtrlStats::writeBursts |
Definition at line 573 of file mem_ctrl.hh.
Referenced by gem5::memory::MemCtrl::addToWriteQueue().
| statistics::Vector gem5::memory::MemCtrl::CtrlStats::writePktSize |
Definition at line 584 of file mem_ctrl.hh.
Referenced by gem5::memory::MemCtrl::addToWriteQueue().
| statistics::Scalar gem5::memory::MemCtrl::CtrlStats::writeReqs |
Definition at line 571 of file mem_ctrl.hh.
Referenced by gem5::memory::HeteroMemCtrl::recvTimingReq(), gem5::memory::HBMCtrl::recvTimingReq(), and gem5::memory::MemCtrl::recvTimingReq().
| statistics::Histogram gem5::memory::MemCtrl::CtrlStats::wrPerTurnAround |
Definition at line 588 of file mem_ctrl.hh.
Referenced by gem5::memory::MemCtrl::processNextReqEvent().
| statistics::Vector gem5::memory::MemCtrl::CtrlStats::wrQLenPdf |
Definition at line 586 of file mem_ctrl.hh.
Referenced by gem5::memory::MemCtrl::addToWriteQueue().