12 #ifndef SST_CORE_STATAPI_STATOUTPUTJSON_H    13 #define SST_CORE_STATAPI_STATOUTPUTJSON_H    15 #include "sst/core/sst_types.h"    16 #include "sst/core/statapi/statoutput.h"    19 namespace Statistics {
    34         SST_ELI_ELEMENT_VERSION(1,0,0),
    35         "Output to a JSON file")
    85     void outputField(fieldHandle_t fieldHandle, int32_t data) 
override;
    86     void outputField(fieldHandle_t fieldHandle, uint32_t data) 
override;
    87     void outputField(fieldHandle_t fieldHandle, int64_t data) 
override;
    88     void outputField(fieldHandle_t fieldHandle, uint64_t data) 
override;
    89     void outputField(fieldHandle_t fieldHandle, 
float data) 
override;
    90     void outputField(fieldHandle_t fieldHandle, 
double data) 
override;
    96         m_currentComponentName(
""),
    98         m_processedAnyStats(
false),
   110     std::string m_FilePath;
   111     std::string m_currentComponentName;
   112     std::string m_currentStatisticName;
   113     std::string m_currentStatisticSubId;
   114     std::string m_currentStatisticType;
   115     bool        m_outputSimTime;
   119     bool        m_processedAnyStats;
   120     int         m_curIndentLevel;
   126 #endif // SST_CORE_STATAPI_STATOUTPUTJSON_H This class is basically a wrapper for objects to declare the order in which their members should be s...
Definition: serializer.h:43
The class for statistics output to a JSON formatted file. 
Definition: statoutputjson.h:26
ImplementSerializable(SST::Statistics::StatisticOutputJSON) protected void printUsage() override
Perform a check of provided parameters. 
Definition: statoutputjson.cc:64
Forms the base class for statistics output generation within the SST core. 
Definition: statoutput.h:50
void implStartOutputEntries(StatisticBase *statistic) override
Implementation function for the start of output. 
Definition: statoutputjson.cc:120
Forms the base class for statistics gathering within SST. 
Definition: statbase.h:45
virtual bool checkOutputParameters()=0
Have the Statistic Output check its parameters. 
void implStopOutputEntries() override
Implementation function for the end of output. 
Definition: statoutputjson.cc:168
Definition: statoutput.h:162
void outputField(fieldHandle_t fieldHandle, int32_t data) override
Implementation functions for output. 
void startOfSimulation() override
Indicate to Statistic Output that simulation started. 
Definition: statoutputjson.cc:77
Parameter store. 
Definition: params.h:55
void endOfSimulation() override
Indicate to Statistic Output that simulation ended. 
Definition: statoutputjson.cc:98
SST_ELI_REGISTER_DERIVED(StatisticOutput, StatisticOutputJSON, "sst", "statoutputjson", SST_ELI_ELEMENT_VERSION(1, 0, 0), "Output to a JSON file") StatisticOutputJSON(Params &outputParameters)
Construct a StatOutputJSON.