gem5 v24.0.0.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 304 of file gups_gen.hh.

Constructor & Destructor Documentation

◆ GUPSGenStat()

gem5::GUPSGen::GUPSGenStat::GUPSGenStat ( GUPSGen * parent)

Definition at line 327 of file gups_gen.cc.

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 359 of file gups_gen.cc.

References gem5::simSeconds.

Member Data Documentation

◆ avgReadBW

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

Definition at line 314 of file gups_gen.hh.

◆ avgReadLat

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

Definition at line 316 of file gups_gen.hh.

◆ avgWriteBW

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

Definition at line 320 of file gups_gen.hh.

◆ avgWriteLat

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

Definition at line 322 of file gups_gen.hh.

◆ GUPS

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

Definition at line 310 of file gups_gen.hh.

◆ totalBytesRead

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

Definition at line 313 of file gups_gen.hh.

Referenced by gem5::GUPSGen::handleResponse().

◆ totalBytesWritten

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

Definition at line 319 of file gups_gen.hh.

Referenced by gem5::GUPSGen::handleResponse().

◆ totalReadLat

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

Definition at line 315 of file gups_gen.hh.

Referenced by gem5::GUPSGen::handleResponse().

◆ totalReads

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

Definition at line 312 of file gups_gen.hh.

Referenced by gem5::GUPSGen::handleResponse().

◆ totalUpdates

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

Definition at line 309 of file gups_gen.hh.

Referenced by gem5::GUPSGen::handleResponse().

◆ totalWriteLat

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

Definition at line 321 of file gups_gen.hh.

Referenced by gem5::GUPSGen::handleResponse().

◆ totalWrites

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

Definition at line 318 of file gups_gen.hh.

Referenced by gem5::GUPSGen::handleResponse().


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

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