Go to the documentation of this file.
38 #ifndef __BASE_STATS_GROUP_HH__
39 #define __BASE_STATS_GROUP_HH__
67 #define ADD_STAT(n, ...) n(this, # n, __VA_ARGS__)
217 #endif // __BASE_STATS_GROUP_HH__
virtual void regStats()
Callback to set stat parameters.
Group *const mergedParent
Parent pointer if merged into parent.
const std::map< std::string, Group * > & getStatGroups() const
Get all child groups associated with this object.
virtual void preDumpStats()
Callback before stats are dumped.
Group & operator=(const Group &)=delete
std::vector< Group * > mergedStatGroups
virtual void resetStats()
Callback to reset stats.
const Info * resolveStat(std::string name) const
Resolve a stat by its name within this group.
std::vector< Info * > stats
const std::string & name()
std::map< std::string, Group * > statGroups
void mergeStatGroup(Group *block)
Merge the contents (stats & children) of a block to this block.
const std::vector< Info * > & getStats() const
Get all stats associated with this object.
void addStat(Stats::Info *info)
Register a stat with this group.
void addStatGroup(const char *name, Group *block)
Add a stat block as a child of this block.
Generated on Wed Sep 30 2020 14:02:08 for gem5 by doxygen 1.8.17