Skip to main content

getStatisticOutputName

std::string& getStatisticOutputName();

Returns the name of the statistic output. StatisticOutput objects should give themselves a name in their constructor, using setStatisticOutputName(). The default name is "StatisticOutput".

Parameters​

  • returns (bool) The name of this output object

Example​

getSimulationOutput().output("This statistic output's name is %s\n", getStatisticOutputName().c_str());
#include <sst/core/statapi/statoutput.h>