gem5
v22.1.0.0
|
#include <mem_ctrl.hh>
Public Member Functions | |
MemCtrlStats (MemCtrl &mc) | |
void | regStats () override |
Callback to set stat parameters. More... | |
![]() | |
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 |
Public Attributes | |
const MemCtrl & | memCtrl |
statistics::VectorStandardDeviation | avgPriority |
per-requestor average QoS priority More... | |
statistics::VectorStandardDeviation | avgPriorityDistance |
per-requestor average QoS distance between assigned and queued values More... | |
statistics::Vector | priorityMinLatency |
per-priority minimum latency More... | |
statistics::Vector | priorityMaxLatency |
per-priority maximum latency More... | |
statistics::Scalar | numReadWriteTurnArounds |
Count the number of turnarounds READ to WRITE. More... | |
statistics::Scalar | numWriteReadTurnArounds |
Count the number of turnarounds WRITE to READ. More... | |
statistics::Scalar | numStayReadState |
Count the number of times bus staying in READ state. More... | |
statistics::Scalar | numStayWriteState |
Count the number of times bus staying in WRITE state. More... | |
Definition at line 145 of file mem_ctrl.hh.
gem5::memory::qos::MemCtrl::MemCtrlStats::MemCtrlStats | ( | MemCtrl & | mc | ) |
Definition at line 288 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 314 of file mem_ctrl.cc.
References gem5::System::getRequestorName(), gem5::ArmISA::i, gem5::ArmISA::j, gem5::System::maxRequestors(), gem5::Named::name(), gem5::statistics::nonan, gem5::statistics::nozero, gem5::statistics::Group::regStats(), gem5::memory::qos::MemCtrl::system(), and sc_dt::to_string().
statistics::VectorStandardDeviation gem5::memory::qos::MemCtrl::MemCtrlStats::avgPriority |
per-requestor average QoS priority
Definition at line 154 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 159 of file mem_ctrl.hh.
Referenced by gem5::memory::qos::MemCtrl::logRequest().
const MemCtrl& gem5::memory::qos::MemCtrl::MemCtrlStats::memCtrl |
Definition at line 151 of file mem_ctrl.hh.
statistics::Scalar gem5::memory::qos::MemCtrl::MemCtrlStats::numReadWriteTurnArounds |
Count the number of turnarounds READ to WRITE.
Definition at line 166 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 170 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 172 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 168 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 164 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 162 of file mem_ctrl.hh.
Referenced by gem5::memory::qos::MemCtrl::logResponse().