gem5 v25.0.0.1
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()

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 576 of file spatter_gen.cc.

References indexAccessLatency, totalIndirectAccessLatency, and valueAccessLatency.

Member Data Documentation

◆ indexAccessLatency

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

Definition at line 146 of file spatter_gen.hh.

Referenced by regStats(), and SpatterGenStats().

◆ indexBytesRead

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

Definition at line 134 of file spatter_gen.hh.

Referenced by SpatterGenStats().

◆ numIndexReads

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

Definition at line 131 of file spatter_gen.hh.

Referenced by SpatterGenStats().

◆ numValueReads

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

Definition at line 137 of file spatter_gen.hh.

Referenced by SpatterGenStats().

◆ numValueWrites

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

Definition at line 138 of file spatter_gen.hh.

Referenced by SpatterGenStats().

◆ spatterGen

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

Definition at line 127 of file spatter_gen.hh.

Referenced by SpatterGenStats().

◆ totalIndexReadLatency

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

Definition at line 135 of file spatter_gen.hh.

Referenced by SpatterGenStats().

◆ totalIndirectAccessLatency

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

Definition at line 148 of file spatter_gen.hh.

Referenced by regStats(), and SpatterGenStats().

◆ totalValueReadLatency

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

Definition at line 141 of file spatter_gen.hh.

Referenced by SpatterGenStats().

◆ totalValueWriteLatency

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

Definition at line 142 of file spatter_gen.hh.

Referenced by SpatterGenStats().

◆ valueAccessLatency

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

Definition at line 147 of file spatter_gen.hh.

Referenced by regStats(), and SpatterGenStats().

◆ valueBytesRead

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

Definition at line 139 of file spatter_gen.hh.

Referenced by SpatterGenStats().

◆ valueBytesWritten

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

Definition at line 140 of file spatter_gen.hh.

Referenced by SpatterGenStats().


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

Generated on Sat Oct 18 2025 08:06:54 for gem5 by doxygen 1.14.0