gem5  v19.0.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 ()=delete
 
 Group (const Group &)=delete
 
Groupoperator= (const Group &)=delete
 
 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...
 

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 198 of file base.hh.

Constructor & Destructor Documentation

◆ StatGroup()

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

Definition at line 336 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 232 of file base.hh.

◆ avgWriteLatency

Stats::Formula BaseTrafficGen::StatGroup::avgWriteLatency

Avg num of ticks each write reqs took to complete.

Definition at line 235 of file base.hh.

◆ bytesRead

Stats::Scalar BaseTrafficGen::StatGroup::bytesRead

Count the number of bytes read.

Definition at line 214 of file base.hh.

◆ bytesWritten

Stats::Scalar BaseTrafficGen::StatGroup::bytesWritten

Count the number of bytes written.

Definition at line 217 of file base.hh.

◆ numPackets

Stats::Scalar BaseTrafficGen::StatGroup::numPackets

Count the number of generated packets.

Definition at line 205 of file base.hh.

Referenced by BaseTrafficGen::update().

◆ numRetries

Stats::Scalar BaseTrafficGen::StatGroup::numRetries

Count the number of retries.

Definition at line 208 of file base.hh.

Referenced by BaseTrafficGen::recvReqRetry().

◆ numSuppressed

Stats::Scalar BaseTrafficGen::StatGroup::numSuppressed

Count the number of dropped requests.

Definition at line 202 of file base.hh.

Referenced by BaseTrafficGen::update().

◆ readBW

Stats::Formula BaseTrafficGen::StatGroup::readBW

Read bandwidth in bytes/s.

Definition at line 238 of file base.hh.

◆ retryTicks

Stats::Scalar BaseTrafficGen::StatGroup::retryTicks

Count the time incurred from back-pressure.

Definition at line 211 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 220 of file base.hh.

◆ totalReads

Stats::Scalar BaseTrafficGen::StatGroup::totalReads

Count the number reads.

Definition at line 226 of file base.hh.

◆ totalWriteLatency

Stats::Scalar BaseTrafficGen::StatGroup::totalWriteLatency

Total num of ticks write reqs took to complete.

Definition at line 223 of file base.hh.

◆ totalWrites

Stats::Scalar BaseTrafficGen::StatGroup::totalWrites

Count the number writes.

Definition at line 229 of file base.hh.

◆ writeBW

Stats::Formula BaseTrafficGen::StatGroup::writeBW

Write bandwidth in bytes/s.

Definition at line 241 of file base.hh.


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

Generated on Fri Feb 28 2020 16:27:09 for gem5 by doxygen 1.8.13