gem5
v20.1.0.0
|
#include <base.hh>
Public Member Functions | |
StatGroup (Stats::Group *parent) | |
Public Member Functions inherited from Stats::Group | |
Group (Group *parent, const char *name=nullptr) | |
Construct a new statistics group. More... | |
virtual | ~Group () |
virtual void | regStats () |
Callback to set stat parameters. More... | |
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 |
Public Attributes | |
Stats::Scalar | numSuppressed |
Count the number of dropped requests. More... | |
Stats::Scalar | numPackets |
Count the number of generated packets. More... | |
Stats::Scalar | numRetries |
Count the number of retries. More... | |
Stats::Scalar | retryTicks |
Count the time incurred from back-pressure. More... | |
Stats::Scalar | bytesRead |
Count the number of bytes read. More... | |
Stats::Scalar | bytesWritten |
Count the number of bytes written. More... | |
Stats::Scalar | totalReadLatency |
Total num of ticks read reqs took to complete More... | |
Stats::Scalar | totalWriteLatency |
Total num of ticks write reqs took to complete More... | |
Stats::Scalar | totalReads |
Count the number reads. More... | |
Stats::Scalar | totalWrites |
Count the number writes. More... | |
Stats::Formula | avgReadLatency |
Avg num of ticks each read req took to complete More... | |
Stats::Formula | avgWriteLatency |
Avg num of ticks each write reqs took to complete More... | |
Stats::Formula | readBW |
Read bandwidth in bytes/s More... | |
Stats::Formula | writeBW |
Write bandwidth in bytes/s More... | |
BaseTrafficGen::StatGroup::StatGroup | ( | Stats::Group * | parent | ) |
Stats::Formula BaseTrafficGen::StatGroup::avgReadLatency |
Stats::Formula BaseTrafficGen::StatGroup::avgWriteLatency |
Stats::Scalar BaseTrafficGen::StatGroup::bytesRead |
Count the number of bytes read.
Definition at line 210 of file base.hh.
Referenced by BaseTrafficGen::recvTimingResp().
Stats::Scalar BaseTrafficGen::StatGroup::bytesWritten |
Count the number of bytes written.
Definition at line 213 of file base.hh.
Referenced by BaseTrafficGen::recvTimingResp().
Stats::Scalar BaseTrafficGen::StatGroup::numPackets |
Count the number of generated packets.
Definition at line 201 of file base.hh.
Referenced by BaseTrafficGen::update().
Stats::Scalar BaseTrafficGen::StatGroup::numRetries |
Count the number of retries.
Definition at line 204 of file base.hh.
Referenced by BaseTrafficGen::recvReqRetry().
Stats::Scalar BaseTrafficGen::StatGroup::numSuppressed |
Count the number of dropped requests.
Definition at line 198 of file base.hh.
Referenced by BaseTrafficGen::update().
Stats::Formula BaseTrafficGen::StatGroup::readBW |
Stats::Scalar BaseTrafficGen::StatGroup::retryTicks |
Count the time incurred from back-pressure.
Definition at line 207 of file base.hh.
Referenced by BaseTrafficGen::retryReq().
Stats::Scalar BaseTrafficGen::StatGroup::totalReadLatency |
Total num of ticks read reqs took to complete
Definition at line 216 of file base.hh.
Referenced by BaseTrafficGen::recvTimingResp().
Stats::Scalar BaseTrafficGen::StatGroup::totalReads |
Count the number reads.
Definition at line 222 of file base.hh.
Referenced by BaseTrafficGen::recvTimingResp().
Stats::Scalar BaseTrafficGen::StatGroup::totalWriteLatency |
Total num of ticks write reqs took to complete
Definition at line 219 of file base.hh.
Referenced by BaseTrafficGen::recvTimingResp().
Stats::Scalar BaseTrafficGen::StatGroup::totalWrites |
Count the number writes.
Definition at line 225 of file base.hh.
Referenced by BaseTrafficGen::recvTimingResp().
Stats::Formula BaseTrafficGen::StatGroup::writeBW |