gem5 v24.0.0.0
Loading...
Searching...
No Matches
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.
 
virtual ~Group ()
 
virtual void regStats ()
 Callback to set stat parameters.
 
virtual void resetStats ()
 Callback to reset stats.
 
virtual void preDumpStats ()
 Callback before stats are dumped.
 
void addStat (statistics::Info *info)
 Register a stat with this group.
 
const std::map< std::string, Group * > & getStatGroups () const
 Get all child groups associated with this object.
 
const std::vector< Info * > & getStats () const
 Get all stats associated with this object.
 
void addStatGroup (const char *name, Group *block)
 Add a stat block as a child of this block.
 
const InforesolveStat (std::string name) const
 Resolve a stat by its name within this group.
 
void mergeStatGroup (Group *block)
 Merge the contents (stats & children) of a block to this block.
 
 Group ()=delete
 
 Group (const Group &)=delete
 
Groupoperator= (const Group &)=delete
 

Public Attributes

statistics::Scalar numSuppressed
 Count the number of dropped requests.
 
statistics::Scalar numPackets
 Count the number of generated packets.
 
statistics::Scalar numRetries
 Count the number of retries.
 
statistics::Scalar retryTicks
 Count the time incurred from back-pressure.
 
statistics::Scalar bytesRead
 Count the number of bytes read.
 
statistics::Scalar bytesWritten
 Count the number of bytes written.
 
statistics::Scalar totalReadLatency
 Total num of ticks read reqs took to complete

 
statistics::Scalar totalWriteLatency
 Total num of ticks write reqs took to complete

 
statistics::Scalar totalReads
 Count the number reads.
 
statistics::Scalar totalWrites
 Count the number writes.
 
statistics::Formula avgReadLatency
 Avg num of ticks each read req took to complete

 
statistics::Formula avgWriteLatency
 Avg num of ticks each write reqs took to complete

 
statistics::Formula readBW
 Read bandwidth in bytes/s

 
statistics::Formula writeBW
 Write bandwidth in bytes/s

 

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 Tue Jun 18 2024 16:24:10 for gem5 by doxygen 1.11.0