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")
82 void outputField(fieldHandle_t fieldHandle, int32_t data)
override;
83 void outputField(fieldHandle_t fieldHandle, uint32_t data)
override;
84 void outputField(fieldHandle_t fieldHandle, int64_t data)
override;
85 void outputField(fieldHandle_t fieldHandle, uint64_t data)
override;
86 void outputField(fieldHandle_t fieldHandle,
float data)
override;
87 void outputField(fieldHandle_t fieldHandle,
double data)
override;
100 std::string m_FilePath;
101 std::string m_currentComponentName;
102 std::string m_currentStatisticName;
103 std::string m_currentStatisticSubId;
104 std::string m_currentStatisticType;
105 bool m_outputSimTime;
109 bool m_processedAnyStats;
110 int m_curIndentLevel;
116 #endif // SST_CORE_STATAPI_STATOUTPUTJSON_H
The class for statistics output to a JSON formatted file.
Definition: statoutputjson.h:26
void printUsage() override
Print out usage for this Statistic Output.
Definition: statoutputjson.cc:67
Forms the base class for statistics output generation within the SST core.
Definition: statoutput.h:49
void implStartOutputEntries(StatisticBase *statistic) override
Implementation function for the start of output.
Definition: statoutputjson.cc:123
Forms the base class for statistics gathering within SST.
Definition: statbase.h:63
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.
void implStopOutputEntries() override
Implementation function for the end of output.
Definition: statoutputjson.cc:169
Definition: statoutput.h:142
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:80
bool checkOutputParameters() override
Perform a check of provided parameters.
Definition: statoutputjson.cc:36
Parameter store.
Definition: params.h:55
void endOfSimulation() override
Indicate to Statistic Output that simulation ended.
Definition: statoutputjson.cc:101