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

#include <base.hh>

Inheritance diagram for gem5::BaseTrafficGen::StatGroup:
gem5::statistics::Group

Public Member Functions

 StatGroup (statistics::Group *parent)
 
- Public Member Functions inherited from gem5::statistics::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 (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 InforesolveStat (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
 
Groupoperator= (const Group &)=delete
 

Public Attributes

statistics::Scalar numSuppressed
 Count the number of dropped requests. More...
 
statistics::Scalar numPackets
 Count the number of generated packets. More...
 
statistics::Scalar numRetries
 Count the number of retries. More...
 
statistics::Scalar retryTicks
 Count the time incurred from back-pressure. More...
 
statistics::Scalar bytesRead
 Count the number of bytes read. More...
 
statistics::Scalar bytesWritten
 Count the number of bytes written. More...
 
statistics::Scalar totalReadLatency
 Total num of ticks read reqs took to complete
More...
 
statistics::Scalar totalWriteLatency
 Total num of ticks write reqs took to complete
More...
 
statistics::Scalar totalReads
 Count the number reads. More...
 
statistics::Scalar totalWrites
 Count the number writes. More...
 
statistics::Formula avgReadLatency
 Avg num of ticks each read req took to complete
More...
 
statistics::Formula avgWriteLatency
 Avg num of ticks each write reqs took to complete
More...
 
statistics::Formula readBW
 Read bandwidth in bytes/s
More...
 
statistics::Formula writeBW
 Write bandwidth in bytes/s
More...
 

Detailed Description

Definition at line 197 of file base.hh.

Constructor & Destructor Documentation

◆ StatGroup()

gem5::BaseTrafficGen::StatGroup::StatGroup ( statistics::Group parent)

Definition at line 335 of file base.cc.

Member Data Documentation

◆ avgReadLatency

statistics::Formula gem5::BaseTrafficGen::StatGroup::avgReadLatency

Avg num of ticks each read req took to complete

Definition at line 232 of file base.hh.

◆ avgWriteLatency

statistics::Formula gem5::BaseTrafficGen::StatGroup::avgWriteLatency

Avg num of ticks each write reqs took to complete

Definition at line 235 of file base.hh.

◆ bytesRead

statistics::Scalar gem5::BaseTrafficGen::StatGroup::bytesRead

Count the number of bytes read.

Definition at line 214 of file base.hh.

Referenced by gem5::BaseTrafficGen::recvTimingResp().

◆ bytesWritten

statistics::Scalar gem5::BaseTrafficGen::StatGroup::bytesWritten

Count the number of bytes written.

Definition at line 217 of file base.hh.

Referenced by gem5::BaseTrafficGen::recvTimingResp().

◆ numPackets

statistics::Scalar gem5::BaseTrafficGen::StatGroup::numPackets

Count the number of generated packets.

Definition at line 205 of file base.hh.

Referenced by gem5::BaseTrafficGen::update().

◆ numRetries

statistics::Scalar gem5::BaseTrafficGen::StatGroup::numRetries

Count the number of retries.

Definition at line 208 of file base.hh.

Referenced by gem5::BaseTrafficGen::recvReqRetry().

◆ numSuppressed

statistics::Scalar gem5::BaseTrafficGen::StatGroup::numSuppressed

Count the number of dropped requests.

Definition at line 202 of file base.hh.

Referenced by gem5::BaseTrafficGen::update().

◆ readBW

statistics::Formula gem5::BaseTrafficGen::StatGroup::readBW

Read bandwidth in bytes/s

Definition at line 238 of file base.hh.

◆ retryTicks

statistics::Scalar gem5::BaseTrafficGen::StatGroup::retryTicks

Count the time incurred from back-pressure.

Definition at line 211 of file base.hh.

Referenced by gem5::BaseTrafficGen::retryReq().

◆ totalReadLatency

statistics::Scalar gem5::BaseTrafficGen::StatGroup::totalReadLatency

Total num of ticks read reqs took to complete

Definition at line 220 of file base.hh.

Referenced by gem5::BaseTrafficGen::recvTimingResp().

◆ totalReads

statistics::Scalar gem5::BaseTrafficGen::StatGroup::totalReads

Count the number reads.

Definition at line 226 of file base.hh.

Referenced by gem5::BaseTrafficGen::recvTimingResp().

◆ totalWriteLatency

statistics::Scalar gem5::BaseTrafficGen::StatGroup::totalWriteLatency

Total num of ticks write reqs took to complete

Definition at line 223 of file base.hh.

Referenced by gem5::BaseTrafficGen::recvTimingResp().

◆ totalWrites

statistics::Scalar gem5::BaseTrafficGen::StatGroup::totalWrites

Count the number writes.

Definition at line 229 of file base.hh.

Referenced by gem5::BaseTrafficGen::recvTimingResp().

◆ writeBW

statistics::Formula gem5::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 Wed Dec 21 2022 10:23:14 for gem5 by doxygen 1.9.1