|
gem5 [DEVELOP-FOR-25.0]
|
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 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 125 of file spatter_gen.hh.
| gem5::SpatterGen::SpatterGenStats::SpatterGenStats | ( | SpatterGen * | spatter_gen | ) |
Definition at line 547 of file spatter_gen.cc.
References ADD_STAT, gem5::statistics::Group::Group(), indexAccessLatency, indexBytesRead, numIndexReads, numValueReads, numValueWrites, gem5::SpatterGen::SpatterGen(), spatterGen, totalIndexReadLatency, totalIndirectAccessLatency, totalValueReadLatency, totalValueWriteLatency, valueAccessLatency, valueBytesRead, and valueBytesWritten.
|
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.
| statistics::Histogram gem5::SpatterGen::SpatterGenStats::indexAccessLatency |
Definition at line 146 of file spatter_gen.hh.
Referenced by regStats(), and SpatterGenStats().
| statistics::Scalar gem5::SpatterGen::SpatterGenStats::indexBytesRead |
Definition at line 134 of file spatter_gen.hh.
Referenced by SpatterGenStats().
| statistics::Scalar gem5::SpatterGen::SpatterGenStats::numIndexReads |
Definition at line 131 of file spatter_gen.hh.
Referenced by SpatterGenStats().
| statistics::Scalar gem5::SpatterGen::SpatterGenStats::numValueReads |
Definition at line 137 of file spatter_gen.hh.
Referenced by SpatterGenStats().
| statistics::Scalar gem5::SpatterGen::SpatterGenStats::numValueWrites |
Definition at line 138 of file spatter_gen.hh.
Referenced by SpatterGenStats().
| SpatterGen* gem5::SpatterGen::SpatterGenStats::spatterGen |
Definition at line 127 of file spatter_gen.hh.
Referenced by SpatterGenStats().
| statistics::Scalar gem5::SpatterGen::SpatterGenStats::totalIndexReadLatency |
Definition at line 135 of file spatter_gen.hh.
Referenced by SpatterGenStats().
| statistics::Histogram gem5::SpatterGen::SpatterGenStats::totalIndirectAccessLatency |
Definition at line 148 of file spatter_gen.hh.
Referenced by regStats(), and SpatterGenStats().
| statistics::Scalar gem5::SpatterGen::SpatterGenStats::totalValueReadLatency |
Definition at line 141 of file spatter_gen.hh.
Referenced by SpatterGenStats().
| statistics::Scalar gem5::SpatterGen::SpatterGenStats::totalValueWriteLatency |
Definition at line 142 of file spatter_gen.hh.
Referenced by SpatterGenStats().
| statistics::Histogram gem5::SpatterGen::SpatterGenStats::valueAccessLatency |
Definition at line 147 of file spatter_gen.hh.
Referenced by regStats(), and SpatterGenStats().
| statistics::Scalar gem5::SpatterGen::SpatterGenStats::valueBytesRead |
Definition at line 139 of file spatter_gen.hh.
Referenced by SpatterGenStats().
| statistics::Scalar gem5::SpatterGen::SpatterGenStats::valueBytesWritten |
Definition at line 140 of file spatter_gen.hh.
Referenced by SpatterGenStats().