SST  13.0.0
StructuralSimulationToolkit
SST::Statistics::StatisticOutputTxt Class Reference

The class for statistics output to a text file. More...

#include <statoutputtxt.h>

Inheritance diagram for SST::Statistics::StatisticOutputTxt:
SST::Statistics::StatisticOutputTextBase SST::Statistics::StatisticFieldsOutput SST::Statistics::StatisticOutput

Public Member Functions

 SST_ELI_REGISTER_DERIVED (StatisticOutput, StatisticOutputTxt, "sst", "statoutputtxt", SST_ELI_ELEMENT_VERSION(1, 0, 0), "Output to text file") StatisticOutputTxt(Params &outputParameters)
 Construct a StatOutputTxt. More...
 
- Public Member Functions inherited from SST::Statistics::StatisticOutputTextBase
 StatisticOutputTextBase (Params &outputParameters)
 Construct a StatOutputTxt. More...
 
- Public Member Functions inherited from SST::Statistics::StatisticFieldsOutput
void registerStatistic (StatisticBase *stat) override
 
void output (StatisticBase *statistic, bool endOfSimFlag) override
 
void startOutputGroup (StatisticGroup *group) override
 
void stopOutputGroup () override
 
void startRegisterGroup (StatisticGroup *group) override
 
void stopRegisterGroup () override
 
StatisticFieldInfogetRegisteredField (fieldHandle_t fieldHandle)
 Adjust the hierarchy of the fields (FUTURE SUPPORT) More...
 
template<typename T >
StatisticFieldInfogetRegisteredField (const char *statisticName, const char *fieldName)
 Return the information on a registered field via known names. More...
 
FieldInfoArray_t & getFieldInfoArray ()
 Return the array of registered field infos. More...
 
virtual void outputField (fieldHandle_t fieldHandle, int32_t data)
 Output field data. More...
 
virtual void outputField (fieldHandle_t fieldHandle, uint32_t data)
 
virtual void outputField (fieldHandle_t fieldHandle, int64_t data)
 
virtual void outputField (fieldHandle_t fieldHandle, uint64_t data)
 
virtual void outputField (fieldHandle_t fieldHandle, float data)
 
virtual void outputField (fieldHandle_t fieldHandle, double data)
 
template<typename T >
fieldHandle_t registerField (const char *fieldName)
 Register a field to be output (templated function) More...
 
const char * getFieldTypeShortName (fieldType_t type)
 Output field data. More...
 
- Public Member Functions inherited from SST::Statistics::StatisticOutput
std::string & getStatisticOutputName ()
 Return the Statistic Output name.
 
ParamsgetOutputParameters ()
 Return the parameters for the StatisticOutput.
 
virtual bool supportsDynamicRegistration () const
 

Additional Inherited Members

- Public Types inherited from SST::Statistics::StatisticOutput
using fieldType_t = StatisticFieldInfo::fieldType_t
 
using fieldHandle_t = StatisticFieldInfo::fieldHandle_t
 
using FieldInfoArray_t = std::vector< StatisticFieldInfo * >
 
using FieldNameMap_t = std::unordered_map< std::string, fieldHandle_t >
 
- Static Public Member Functions inherited from SST::Statistics::StatisticOutput
static const std::vector< SST::ElementInfoParam > & ELI_getParams ()
 
- Protected Member Functions inherited from SST::Statistics::StatisticOutputTextBase
bool checkOutputParameters () override
 Perform a check of provided parameters. More...
 
void printUsage () override
 Print out usage for this Statistic Output.
 
void startOfSimulation () override
 Indicate to Statistic Output that simulation started. More...
 
void endOfSimulation () override
 Indicate to Statistic Output that simulation ended. More...
 
void implStartOutputEntries (StatisticBase *statistic) override
 Implementation function for the start of output. More...
 
void implStopOutputEntries () override
 Implementation function for the end of output. More...
 
void outputField (fieldHandle_t fieldHandle, int32_t data) override
 Implementation functions for output. More...
 
void outputField (fieldHandle_t fieldHandle, uint32_t data) override
 
void outputField (fieldHandle_t fieldHandle, int64_t data) override
 
void outputField (fieldHandle_t fieldHandle, uint64_t data) override
 
void outputField (fieldHandle_t fieldHandle, float data) override
 
void outputField (fieldHandle_t fieldHandle, double data) override
 
- Protected Member Functions inherited from SST::Statistics::StatisticFieldsOutput
 StatisticFieldsOutput (Params &outputParameters)
 Construct a base StatisticOutput. More...
 
virtual void startRegisterFields (StatisticBase *statistic)
 These can be overriden, if necessary, but must be callable by the derived class.
 
virtual void stopRegisterFields ()
 
virtual void startOutputEntries (StatisticBase *statistic)
 
virtual void stopOutputEntries ()
 
- Protected Member Functions inherited from SST::Statistics::StatisticOutput
 StatisticOutput (Params &outputParameters)
 Construct a base StatisticOutput. More...
 
void setStatisticOutputName (const std::string &name)
 
void lock ()
 
void unlock ()
 
- Protected Attributes inherited from SST::Statistics::StatisticOutputTextBase
bool m_outputTopHeader
 
bool m_outputInlineHeader
 
bool m_outputSimTime
 
bool m_outputRank
 
bool m_useCompression
 

Detailed Description

The class for statistics output to a text file.

Member Function Documentation

◆ SST_ELI_REGISTER_DERIVED()

SST::Statistics::StatisticOutputTxt::SST_ELI_REGISTER_DERIVED ( StatisticOutput  ,
StatisticOutputTxt  ,
"sst"  ,
"statoutputtxt"  ,
SST_ELI_ELEMENT_VERSION(1, 0, 0)  ,
"Output to text file"   
) &

Construct a StatOutputTxt.

Parameters
outputParameters- Parameters used for this Statistic Output

The documentation for this class was generated from the following files: