gem5  v20.1.0.0
Public Member Functions | Public Attributes | List of all members
BaseTrafficGen::StatGroup Struct Reference

#include <base.hh>

Inheritance diagram for BaseTrafficGen::StatGroup:
Stats::Group

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 InforesolveStat (std::string name) const
 Resolve a stat by its name within this group. More...
 
 Group ()=delete
 
 Group (const Group &)=delete
 
Groupoperator= (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...
 

Detailed Description

Definition at line 194 of file base.hh.

Constructor & Destructor Documentation

◆ StatGroup()

BaseTrafficGen::StatGroup::StatGroup ( Stats::Group parent)

Definition at line 334 of file base.cc.

Member Data Documentation

◆ avgReadLatency

Stats::Formula BaseTrafficGen::StatGroup::avgReadLatency

Avg num of ticks each read req took to complete

Definition at line 228 of file base.hh.

◆ avgWriteLatency

Stats::Formula BaseTrafficGen::StatGroup::avgWriteLatency

Avg num of ticks each write reqs took to complete

Definition at line 231 of file base.hh.

◆ bytesRead

Stats::Scalar BaseTrafficGen::StatGroup::bytesRead

Count the number of bytes read.

Definition at line 210 of file base.hh.

Referenced by BaseTrafficGen::recvTimingResp().

◆ bytesWritten

Stats::Scalar BaseTrafficGen::StatGroup::bytesWritten

Count the number of bytes written.

Definition at line 213 of file base.hh.

Referenced by BaseTrafficGen::recvTimingResp().

◆ numPackets

Stats::Scalar BaseTrafficGen::StatGroup::numPackets

Count the number of generated packets.

Definition at line 201 of file base.hh.

Referenced by BaseTrafficGen::update().

◆ numRetries

Stats::Scalar BaseTrafficGen::StatGroup::numRetries

Count the number of retries.

Definition at line 204 of file base.hh.

Referenced by BaseTrafficGen::recvReqRetry().

◆ numSuppressed

Stats::Scalar BaseTrafficGen::StatGroup::numSuppressed

Count the number of dropped requests.

Definition at line 198 of file base.hh.

Referenced by BaseTrafficGen::update().

◆ readBW

Stats::Formula BaseTrafficGen::StatGroup::readBW

Read bandwidth in bytes/s

Definition at line 234 of file base.hh.

◆ retryTicks

Stats::Scalar BaseTrafficGen::StatGroup::retryTicks

Count the time incurred from back-pressure.

Definition at line 207 of file base.hh.

Referenced by BaseTrafficGen::retryReq().

◆ totalReadLatency

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().

◆ totalReads

Stats::Scalar BaseTrafficGen::StatGroup::totalReads

Count the number reads.

Definition at line 222 of file base.hh.

Referenced by BaseTrafficGen::recvTimingResp().

◆ totalWriteLatency

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().

◆ totalWrites

Stats::Scalar BaseTrafficGen::StatGroup::totalWrites

Count the number writes.

Definition at line 225 of file base.hh.

Referenced by BaseTrafficGen::recvTimingResp().

◆ writeBW

Stats::Formula BaseTrafficGen::StatGroup::writeBW

Write bandwidth in bytes/s

Definition at line 237 of file base.hh.


The documentation for this struct was generated from the following files:

Generated on Wed Sep 30 2020 14:02:22 for gem5 by doxygen 1.8.17