|
gem5 [DEVELOP-FOR-25.0]
|
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 Info * | resolveStat (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 | |
| Group & | operator= (const Group &)=delete |
Definition at line 307 of file gups_gen.hh.
| gem5::GUPSGen::GUPSGenStat::GUPSGenStat | ( | GUPSGen * | parent | ) |
Definition at line 326 of file gups_gen.cc.
References ADD_STAT, avgReadBW, avgReadLat, avgWriteBW, avgWriteLat, gem5::statistics::Group::Group(), GUPS, gem5::GUPSGen::GUPSGen(), totalBytesRead, totalBytesWritten, totalReadLat, totalReads, totalUpdates, totalWriteLat, and totalWrites.
|
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.
| statistics::Formula gem5::GUPSGen::GUPSGenStat::avgReadBW |
Definition at line 317 of file gups_gen.hh.
Referenced by GUPSGenStat(), and regStats().
| statistics::Formula gem5::GUPSGen::GUPSGenStat::avgReadLat |
Definition at line 319 of file gups_gen.hh.
Referenced by GUPSGenStat(), and regStats().
| statistics::Formula gem5::GUPSGen::GUPSGenStat::avgWriteBW |
Definition at line 323 of file gups_gen.hh.
Referenced by GUPSGenStat(), and regStats().
| statistics::Formula gem5::GUPSGen::GUPSGenStat::avgWriteLat |
Definition at line 325 of file gups_gen.hh.
Referenced by GUPSGenStat(), and regStats().
| statistics::Formula gem5::GUPSGen::GUPSGenStat::GUPS |
Definition at line 313 of file gups_gen.hh.
Referenced by GUPSGenStat(), and regStats().
| statistics::Scalar gem5::GUPSGen::GUPSGenStat::totalBytesRead |
Definition at line 316 of file gups_gen.hh.
Referenced by GUPSGenStat(), and regStats().
| statistics::Scalar gem5::GUPSGen::GUPSGenStat::totalBytesWritten |
Definition at line 322 of file gups_gen.hh.
Referenced by GUPSGenStat(), and regStats().
| statistics::Scalar gem5::GUPSGen::GUPSGenStat::totalReadLat |
Definition at line 318 of file gups_gen.hh.
Referenced by GUPSGenStat(), and regStats().
| statistics::Scalar gem5::GUPSGen::GUPSGenStat::totalReads |
Definition at line 315 of file gups_gen.hh.
Referenced by GUPSGenStat(), and regStats().
| statistics::Scalar gem5::GUPSGen::GUPSGenStat::totalUpdates |
Definition at line 312 of file gups_gen.hh.
Referenced by GUPSGenStat(), and regStats().
| statistics::Scalar gem5::GUPSGen::GUPSGenStat::totalWriteLat |
Definition at line 324 of file gups_gen.hh.
Referenced by GUPSGenStat(), and regStats().
| statistics::Scalar gem5::GUPSGen::GUPSGenStat::totalWrites |
Definition at line 321 of file gups_gen.hh.
Referenced by GUPSGenStat(), and regStats().