12 #ifndef _H_SST_CORE_STATISTICS_OUTPUT_CSV_GZ
13 #define _H_SST_CORE_STATISTICS_OUTPUT_CSV_GZ
15 #include "sst/core/sst_types.h"
17 #include <sst/core/statapi/statoutput.h>
24 namespace Statistics {
31 class StatisticOutputCompressedCSV :
public StatisticOutput
37 StatisticOutputCompressedCSV(Params& outputParameters);
43 bool checkOutputParameters();
51 void startOfSimulation();
56 void endOfSimulation();
64 void implStartOutputEntries(StatisticBase* statistic);
71 void implStopOutputEntries();
79 void implOutputField(fieldHandle_t fieldHandle, int32_t data);
80 void implOutputField(fieldHandle_t fieldHandle, uint32_t data);
81 void implOutputField(fieldHandle_t fieldHandle, int64_t data);
82 void implOutputField(fieldHandle_t fieldHandle, uint64_t data);
83 void implOutputField(fieldHandle_t fieldHandle,
float data);
84 void implOutputField(fieldHandle_t fieldHandle,
double data);
87 StatisticOutputCompressedCSV() {;}
91 std::vector<std::string> m_OutputBufferArray;
92 std::string m_Separator;
93 std::string m_FilePath;
94 std::string m_currentComponentName;
95 std::string m_currentStatisticName;
96 std::string m_currentStatisticSubId;
97 std::string m_currentStatisticType;
98 bool m_outputTopHeader;