12 #ifndef _H_SST_CORE_BASE_STATISTICS
13 #define _H_SST_CORE_BASE_STATISTICS
19 namespace Statistics {
43 name = (
char*) malloc(
sizeof(
char) * (statName.size() + 1));
44 sprintf(name,
"%s", statName.c_str());
bool isEnabled()
Query whether the statistic is currently enabled.
Definition: basestats.h:84
BaseStatistic(char *statName)
Constructor for the BaseStatistic class.
Definition: basestats.h:56
void disable()
Disable the statistic collection.
Definition: basestats.h:76
Definition: basestats.h:29
void enable()
Enable the statistic for collection.
Definition: basestats.h:69
BaseStatistic(std::string statName)
Constructor for the BaseStatistics class.
Definition: basestats.h:42
const char * getName()
Get the name of the statistic.
Definition: basestats.h:62