SST
7.2.0
StructuralSimulationToolkit
|
An SST core component that handles timing and event processing informing all registered Statistics to generate their outputs at desired rates. More...
#include <statengine.h>
Public Member Functions | |
void | performStatisticOutput (StatisticBase *stat, bool endOfSimFlag=false) |
Called by the Components and Subcomponent to perform a statistic Output. More... | |
void | performGlobalStatisticOutput (bool endOfSimFlag=false) |
Called by the Components and Subcomponent to perform a global statistic Output. More... | |
template<typename T > | |
Statistic< T > * | createStatistic (BaseComponent *comp, const std::string &type, const std::string &statName, const std::string &statSubId, Params ¶ms) |
template<typename T > | |
bool | registerStatisticWithEngine (StatisticBase *stat) |
template<typename T > | |
StatisticBase * | isStatisticRegisteredWithEngine (const std::string &compName, const ComponentId_t &compId, std::string &statName, std::string &statSubId) |
const std::vector< StatisticOutput * > & | getStatOutputs () const |
Static Public Member Functions | |
static StatisticProcessingEngine * | getInstance () |
Friends | |
class | SST::Simulation |
An SST core component that handles timing and event processing informing all registered Statistics to generate their outputs at desired rates.
void SST::Statistics::StatisticProcessingEngine::performGlobalStatisticOutput | ( | bool | endOfSimFlag = false | ) |
Called by the Components and Subcomponent to perform a global statistic Output.
This routine will force ALL Components and Subcomponents to output their statistic information. This may lead to unexpected results if the statistic counts or data is reset on output.
endOfSimFlag | - Indicates that the output is occurring at the end of simulation. |
References SST::Statistics::StatisticBase::disable(), SST::Statistics::StatisticBase::enable(), SST::Statistics::StatisticBase::getCompName(), SST::Statistics::StatisticBase::getComponent(), SST::BaseComponent::getId(), SST::Statistics::StatisticBase::getStatDataType(), SST::Statistics::StatisticBase::getStatName(), and SST::Statistics::StatisticBase::getStatSubId().
void SST::Statistics::StatisticProcessingEngine::performStatisticOutput | ( | StatisticBase * | stat, |
bool | endOfSimFlag = false |
||
) |
Called by the Components and Subcomponent to perform a statistic Output.
stat | - Pointer to the statistic. |
EndOfSimFlag | - Indicates that the output is occuring at the end of simulation. |
References SST::Statistics::StatisticBase::clearStatisticData(), SST::Statistics::StatisticBase::getFlagClearDataOnOutput(), SST::Statistics::StatisticBase::getFlagResetCountOnOutput(), SST::Statistics::StatisticBase::isOutputEnabled(), and SST::Statistics::StatisticBase::resetCollectionCount().