gem5 v24.0.0.0
|
#include <mem_ctrl.hh>
Public Member Functions | |
MemCtrlStats (MemCtrl &mc) | |
void | regStats () override |
Callback to set stat parameters. | |
Public Member Functions inherited from gem5::statistics::Group | |
Group (Group *parent, const char *name=nullptr) | |
Construct a new statistics group. | |
virtual | ~Group () |
virtual void | resetStats () |
Callback to reset stats. | |
virtual void | preDumpStats () |
Callback before stats are dumped. | |
void | addStat (statistics::Info *info) |
Register a stat with this group. | |
const std::map< std::string, Group * > & | getStatGroups () const |
Get all child groups associated with this object. | |
const std::vector< Info * > & | getStats () const |
Get all stats associated with this object. | |
void | addStatGroup (const char *name, Group *block) |
Add a stat block as a child of this block. | |
const Info * | resolveStat (std::string name) const |
Resolve a stat by its name within this group. | |
void | mergeStatGroup (Group *block) |
Merge the contents (stats & children) of a block to this block. | |
Group ()=delete | |
Group (const Group &)=delete | |
Group & | operator= (const Group &)=delete |
Public Attributes | |
const MemCtrl & | memCtrl |
statistics::VectorStandardDeviation | avgPriority |
per-requestor average QoS priority | |
statistics::VectorStandardDeviation | avgPriorityDistance |
per-requestor average QoS distance between assigned and queued values | |
statistics::Vector | priorityMinLatency |
per-priority minimum latency | |
statistics::Vector | priorityMaxLatency |
per-priority maximum latency | |
statistics::Scalar | numReadWriteTurnArounds |
Count the number of turnarounds READ to WRITE. | |
statistics::Scalar | numWriteReadTurnArounds |
Count the number of turnarounds WRITE to READ. | |
statistics::Scalar | numStayReadState |
Count the number of times bus staying in READ state. | |
statistics::Scalar | numStayWriteState |
Count the number of times bus staying in WRITE state. | |
Definition at line 144 of file mem_ctrl.hh.
gem5::memory::qos::MemCtrl::MemCtrlStats::MemCtrlStats | ( | MemCtrl & | mc | ) |
Definition at line 287 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 313 of file mem_ctrl.cc.
References gem5::System::getRequestorName(), gem5::ArmISA::i, gem5::System::maxRequestors(), gem5::Named::name(), gem5::statistics::nonan, gem5::statistics::nozero, gem5::statistics::Group::regStats(), and gem5::memory::qos::MemCtrl::system().
statistics::VectorStandardDeviation gem5::memory::qos::MemCtrl::MemCtrlStats::avgPriority |
per-requestor average QoS priority
Definition at line 153 of file mem_ctrl.hh.
Referenced by gem5::memory::qos::MemCtrl::logRequest().
statistics::VectorStandardDeviation gem5::memory::qos::MemCtrl::MemCtrlStats::avgPriorityDistance |
per-requestor average QoS distance between assigned and queued values
Definition at line 158 of file mem_ctrl.hh.
Referenced by gem5::memory::qos::MemCtrl::logRequest().
const MemCtrl& gem5::memory::qos::MemCtrl::MemCtrlStats::memCtrl |
Definition at line 150 of file mem_ctrl.hh.
statistics::Scalar gem5::memory::qos::MemCtrl::MemCtrlStats::numReadWriteTurnArounds |
Count the number of turnarounds READ to WRITE.
Definition at line 165 of file mem_ctrl.hh.
Referenced by gem5::memory::qos::MemCtrl::recordTurnaroundStats().
statistics::Scalar gem5::memory::qos::MemCtrl::MemCtrlStats::numStayReadState |
Count the number of times bus staying in READ state.
Definition at line 169 of file mem_ctrl.hh.
Referenced by gem5::memory::qos::MemCtrl::recordTurnaroundStats().
statistics::Scalar gem5::memory::qos::MemCtrl::MemCtrlStats::numStayWriteState |
Count the number of times bus staying in WRITE state.
Definition at line 171 of file mem_ctrl.hh.
Referenced by gem5::memory::qos::MemCtrl::recordTurnaroundStats().
statistics::Scalar gem5::memory::qos::MemCtrl::MemCtrlStats::numWriteReadTurnArounds |
Count the number of turnarounds WRITE to READ.
Definition at line 167 of file mem_ctrl.hh.
Referenced by gem5::memory::qos::MemCtrl::recordTurnaroundStats().
statistics::Vector gem5::memory::qos::MemCtrl::MemCtrlStats::priorityMaxLatency |
per-priority maximum latency
Definition at line 163 of file mem_ctrl.hh.
Referenced by gem5::memory::qos::MemCtrl::logResponse().
statistics::Vector gem5::memory::qos::MemCtrl::MemCtrlStats::priorityMinLatency |
per-priority minimum latency
Definition at line 161 of file mem_ctrl.hh.
Referenced by gem5::memory::qos::MemCtrl::logResponse().