Forms the template defined base class for statistics gathering within SST. More...
#include <statbase.h>
Public Member Functions | |
void | addData (T data) |
Add data to the Statistic This will call the addData_impl() routine in the derived Statistic. | |
Protected Member Functions | |
Statistic (Component *comp, std::string &statName, std::string &statSubId, Params &statParams) | |
Construct a Statistic. | |
Friends | |
class | SST::Component |
class | boost::serialization::access |
Forms the template defined base class for statistics gathering within SST.
T | A template for the basic numerical data stored by this Statistic |
SST::Statistics::Statistic< T >::Statistic | ( | Component * | comp, | |
std::string & | statName, | |||
std::string & | statSubId, | |||
Params & | statParams | |||
) | [inline, protected] |
Construct a Statistic.
comp | - Pointer to the parent constructor. | |
statName | - Name of the statistic to be registered. This name must match the name in the ElementInfoStatistic. | |
statSubId | - Additional name of the statistic | |
statParams | - The parameters for this statistic |