gem5 v24.0.0.0
Loading...
Searching...
No Matches
gem5::SpatterGen::SpatterGenStats Struct Reference
Inheritance diagram for gem5::SpatterGen::SpatterGenStats:
gem5::statistics::Group

Public Member Functions

virtual void regStats () override
 Callback to set stat parameters.
 
 SpatterGenStats (SpatterGen *spatter_gen)
 
- Public Member Functions inherited from gem5::statistics::Group
 Group (Group *parent, const char *name=nullptr)
 Construct a new statistics group.
 
virtual ~Group ()
 
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

SpatterGenspatterGen
 
statistics::Scalar numIndexReads
 
statistics::Scalar indexBytesRead
 
statistics::Scalar totalIndexReadLatency
 
statistics::Scalar numValueReads
 
statistics::Scalar numValueWrites
 
statistics::Scalar valueBytesRead
 
statistics::Scalar valueBytesWritten
 
statistics::Scalar totalValueReadLatency
 
statistics::Scalar totalValueWriteLatency
 
statistics::Histogram indexAccessLatency
 
statistics::Histogram valueAccessLatency
 
statistics::Histogram totalIndirectAccessLatency
 

Detailed Description

Definition at line 125 of file spatter_gen.hh.

Constructor & Destructor Documentation

◆ SpatterGenStats()

gem5::SpatterGen::SpatterGenStats::SpatterGenStats ( SpatterGen * spatter_gen)

Definition at line 545 of file spatter_gen.cc.

Member Function Documentation

◆ regStats()

void gem5::SpatterGen::SpatterGenStats::regStats ( )
overridevirtual

Callback to set stat parameters.

This callback is typically used for complex stats (e.g., distributions) that need parameters in addition to a name and a description. Stat names and descriptions should typically be set from the constructor usingo from the constructor using the ADD_STAT macro.

Reimplemented from gem5::statistics::Group.

Definition at line 574 of file spatter_gen.cc.

Member Data Documentation

◆ indexAccessLatency

statistics::Histogram gem5::SpatterGen::SpatterGenStats::indexAccessLatency

Definition at line 146 of file spatter_gen.hh.

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

◆ indexBytesRead

statistics::Scalar gem5::SpatterGen::SpatterGenStats::indexBytesRead

Definition at line 134 of file spatter_gen.hh.

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

◆ numIndexReads

statistics::Scalar gem5::SpatterGen::SpatterGenStats::numIndexReads

Definition at line 131 of file spatter_gen.hh.

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

◆ numValueReads

statistics::Scalar gem5::SpatterGen::SpatterGenStats::numValueReads

Definition at line 137 of file spatter_gen.hh.

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

◆ numValueWrites

statistics::Scalar gem5::SpatterGen::SpatterGenStats::numValueWrites

Definition at line 138 of file spatter_gen.hh.

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

◆ spatterGen

SpatterGen* gem5::SpatterGen::SpatterGenStats::spatterGen

Definition at line 127 of file spatter_gen.hh.

◆ totalIndexReadLatency

statistics::Scalar gem5::SpatterGen::SpatterGenStats::totalIndexReadLatency

Definition at line 135 of file spatter_gen.hh.

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

◆ totalIndirectAccessLatency

statistics::Histogram gem5::SpatterGen::SpatterGenStats::totalIndirectAccessLatency

Definition at line 148 of file spatter_gen.hh.

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

◆ totalValueReadLatency

statistics::Scalar gem5::SpatterGen::SpatterGenStats::totalValueReadLatency

Definition at line 141 of file spatter_gen.hh.

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

◆ totalValueWriteLatency

statistics::Scalar gem5::SpatterGen::SpatterGenStats::totalValueWriteLatency

Definition at line 142 of file spatter_gen.hh.

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

◆ valueAccessLatency

statistics::Histogram gem5::SpatterGen::SpatterGenStats::valueAccessLatency

Definition at line 147 of file spatter_gen.hh.

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

◆ valueBytesRead

statistics::Scalar gem5::SpatterGen::SpatterGenStats::valueBytesRead

Definition at line 139 of file spatter_gen.hh.

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

◆ valueBytesWritten

statistics::Scalar gem5::SpatterGen::SpatterGenStats::valueBytesWritten

Definition at line 140 of file spatter_gen.hh.

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


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

Generated on Tue Jun 18 2024 16:24:14 for gem5 by doxygen 1.11.0