12 #ifndef _H_SST_CORE_STATISTICS_OUTPUTCSV
13 #define _H_SST_CORE_STATISTICS_OUTPUTCSV
15 #include "sst/core/sst_types.h"
17 #include "sst/core/statapi/statoutput.h"
24 namespace Statistics {
39 SST_ELI_ELEMENT_VERSION(1,0,0),
40 "Output directly to console screen"
88 void outputField(fieldHandle_t fieldHandle, int32_t data)
override;
89 void outputField(fieldHandle_t fieldHandle, uint32_t data)
override;
90 void outputField(fieldHandle_t fieldHandle, int64_t data)
override;
91 void outputField(fieldHandle_t fieldHandle, uint64_t data)
override;
92 void outputField(fieldHandle_t fieldHandle,
float data)
override;
93 void outputField(fieldHandle_t fieldHandle,
double data)
override;
101 int print(
const char* fmt, ...);
108 std::vector<std::string> m_OutputBufferArray;
109 std::string m_Separator;
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_outputTopHeader;
116 bool m_outputSimTime;
118 bool m_useCompression;
void implStartOutputEntries(StatisticBase *statistic) override
Implementation function for the start of output.
Definition: statoutputcsv.cc:175
Forms the base class for statistics output generation within the SST core.
Definition: statoutput.h:49
Forms the base class for statistics gathering within SST.
Definition: statbase.h:64
void endOfSimulation() override
Indicate to Statistic Output that simulation ended.
Definition: statoutputcsv.cc:169
void startOfSimulation() override
Indicate to Statistic Output that simulation started.
Definition: statoutputcsv.cc:84
The class for statistics output to a comma separated file.
Definition: statoutputcsv.h:31
SST_ELI_REGISTER_DERIVED(StatisticOutput, StatisticOutputCSV,"sst","statoutputcsv", SST_ELI_ELEMENT_VERSION(1, 0, 0),"Output directly to console screen") StatisticOutputCSV(Params &outputParameters)
Construct a StatOutputCSV.
void implStopOutputEntries() override
Implementation function for the end of output.
Definition: statoutputcsv.cc:190
Definition: statoutput.h:144
bool checkOutputParameters() override
Perform a check of provided parameters.
Definition: statoutputcsv.cc:31
void printUsage() override
Print out usage for this Statistic Output.
Definition: statoutputcsv.cc:70
Parameter store.
Definition: params.h:44
void outputField(fieldHandle_t fieldHandle, int32_t data) override
Implementation functions for output.
Definition: statoutputcsv.cc:229