gem5 [DEVELOP-FOR-25.0]
Loading...
Searching...
No Matches
gem5::GUPSGen::GUPSGenStat Struct Reference
Inheritance diagram for gem5::GUPSGen::GUPSGenStat:
gem5::statistics::Group

Public Member Functions

 GUPSGenStat (GUPSGen *parent)
 
void regStats () override
 Callback to set stat parameters.
 
- 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

statistics::Scalar totalUpdates
 
statistics::Formula GUPS
 
statistics::Scalar totalReads
 
statistics::Scalar totalBytesRead
 
statistics::Formula avgReadBW
 
statistics::Scalar totalReadLat
 
statistics::Formula avgReadLat
 
statistics::Scalar totalWrites
 
statistics::Scalar totalBytesWritten
 
statistics::Formula avgWriteBW
 
statistics::Scalar totalWriteLat
 
statistics::Formula avgWriteLat
 

Detailed Description

Definition at line 307 of file gups_gen.hh.

Constructor & Destructor Documentation

◆ GUPSGenStat()

Member Function Documentation

◆ regStats()

void gem5::GUPSGen::GUPSGenStat::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 358 of file gups_gen.cc.

References avgReadBW, avgReadLat, avgWriteBW, avgWriteLat, GUPS, gem5::simSeconds, totalBytesRead, totalBytesWritten, totalReadLat, totalReads, totalUpdates, totalWriteLat, and totalWrites.

Member Data Documentation

◆ avgReadBW

statistics::Formula gem5::GUPSGen::GUPSGenStat::avgReadBW

Definition at line 317 of file gups_gen.hh.

Referenced by GUPSGenStat(), and regStats().

◆ avgReadLat

statistics::Formula gem5::GUPSGen::GUPSGenStat::avgReadLat

Definition at line 319 of file gups_gen.hh.

Referenced by GUPSGenStat(), and regStats().

◆ avgWriteBW

statistics::Formula gem5::GUPSGen::GUPSGenStat::avgWriteBW

Definition at line 323 of file gups_gen.hh.

Referenced by GUPSGenStat(), and regStats().

◆ avgWriteLat

statistics::Formula gem5::GUPSGen::GUPSGenStat::avgWriteLat

Definition at line 325 of file gups_gen.hh.

Referenced by GUPSGenStat(), and regStats().

◆ GUPS

statistics::Formula gem5::GUPSGen::GUPSGenStat::GUPS

Definition at line 313 of file gups_gen.hh.

Referenced by GUPSGenStat(), and regStats().

◆ totalBytesRead

statistics::Scalar gem5::GUPSGen::GUPSGenStat::totalBytesRead

Definition at line 316 of file gups_gen.hh.

Referenced by GUPSGenStat(), and regStats().

◆ totalBytesWritten

statistics::Scalar gem5::GUPSGen::GUPSGenStat::totalBytesWritten

Definition at line 322 of file gups_gen.hh.

Referenced by GUPSGenStat(), and regStats().

◆ totalReadLat

statistics::Scalar gem5::GUPSGen::GUPSGenStat::totalReadLat

Definition at line 318 of file gups_gen.hh.

Referenced by GUPSGenStat(), and regStats().

◆ totalReads

statistics::Scalar gem5::GUPSGen::GUPSGenStat::totalReads

Definition at line 315 of file gups_gen.hh.

Referenced by GUPSGenStat(), and regStats().

◆ totalUpdates

statistics::Scalar gem5::GUPSGen::GUPSGenStat::totalUpdates

Definition at line 312 of file gups_gen.hh.

Referenced by GUPSGenStat(), and regStats().

◆ totalWriteLat

statistics::Scalar gem5::GUPSGen::GUPSGenStat::totalWriteLat

Definition at line 324 of file gups_gen.hh.

Referenced by GUPSGenStat(), and regStats().

◆ totalWrites

statistics::Scalar gem5::GUPSGen::GUPSGenStat::totalWrites

Definition at line 321 of file gups_gen.hh.

Referenced by GUPSGenStat(), and regStats().


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

Generated on Mon May 26 2025 09:19:21 for gem5 by doxygen 1.13.2