|
SST
9.1.0
StructuralSimulationToolkit
|
The class for statistics output to a comma separated file.More...
#include <statoutputcsv.h>
Public Member Functions | |
| 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. More... | |
Public Member Functions inherited from SST::Statistics::StatisticOutput | |
| StatisticOutput (Params &outputParameters) | |
| Construct a base StatisticOutput. More... | |
| std::string & | getStatisticOutputName () |
| Return the Statistic Output name. | |
| Params & | getOutputParameters () |
| Return the parameters for the StatisticOutput. | |
| virtual bool | acceptsGroups () const |
| True if this StatOutput can handle StatisticGroups. | |
| template<typename T > | |
| fieldHandle_t | registerField (const char *fieldName) |
| Register a field to be output (templated function) More... | |
| StatisticFieldInfo * | getRegisteredField (fieldHandle_t fieldHandle) |
| Adjust the hierarchy of the fields (FUTURE SUPPORT) More... | |
| template<typename T > | |
| StatisticFieldInfo * | getRegisteredField (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... | |
| const char * | getFieldTypeShortName (fieldType_t type) |
| Output field data. More... | |
Public Member Functions inherited from SST::Module | |
| SST_ELI_DECLARE_CTORS (ELI_CTOR(SST::Params &),) Module() | |
Protected Member Functions | |
| 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::StatisticOutput | |
| virtual void | implStartRegisterFields (StatisticBase *UNUSED(statistic)) |
| virtual void | implRegisteredField (fieldHandle_t UNUSED(fieldHandle)) |
| virtual void | implStopRegisterFields () |
| virtual void | implStartRegisterGroup (StatisticGroup *UNUSED(group)) |
| virtual void | implStopRegisterGroup () |
| virtual void | implStartOutputGroup (StatisticGroup *UNUSED(group)) |
| virtual void | implStopOutputGroup () |
| void | setStatisticOutputName (std::string name) |
| void | lock () |
| void | unlock () |
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 () |
The class for statistics output to a comma separated file.
|
overrideprotectedvirtual |
Perform a check of provided parameters.
Implements SST::Statistics::StatisticOutput.
References SST::Params::find(), and SST::Statistics::StatisticOutput::getOutputParameters().
|
overrideprotectedvirtual |
Indicate to Statistic Output that simulation ended.
Statistic output may perform any shutdown code here as necessary.
Implements SST::Statistics::StatisticOutput.
|
overrideprotectedvirtual |
Implementation function for the start of output.
This will be called by the Statistic Processing Engine to indicate that a Statistic is about to send data to the Statistic Output for processing.
| statistic | - Pointer to the statistic object than the output can retrieve data from. |
Implements SST::Statistics::StatisticOutput.
References SST::Statistics::StatisticBase::getCompName(), SST::Statistics::StatisticOutput::getFieldInfoArray(), SST::Statistics::StatisticBase::getStatName(), SST::Statistics::StatisticBase::getStatSubId(), and SST::Statistics::StatisticBase::getStatTypeName().
|
overrideprotectedvirtual |
Implementation function for the end of output.
This will be called by the Statistic Processing Engine to indicate that a Statistic is finished sending data to the Statistic Output for processing. The Statistic Output can perform any output related functions here.
Implements SST::Statistics::StatisticOutput.
References SST::Simulation::getSimulation().
|
overrideprotectedvirtual |
Implementation functions for output.
These will be called by the statistic to provide Statistic defined data to be output.
| fieldHandle | - The handle to the registered statistic field. |
| data | - The data related to the registered field to be output. |
Reimplemented from SST::Statistics::StatisticOutput.
| SST::Statistics::StatisticOutputCSV::SST_ELI_REGISTER_DERIVED | ( | StatisticOutput | , |
| StatisticOutputCSV | , | ||
| "sst" | , | ||
| "statoutputcsv" | , | ||
| SST_ELI_ELEMENT_VERSION(1, 0, 0) | , | ||
| "Output directly to console screen" | |||
| ) |
|
overrideprotectedvirtual |
Indicate to Statistic Output that simulation started.
Statistic output may perform any startup code here as necessary.
Implements SST::Statistics::StatisticOutput.
References SST::Statistics::StatisticOutput::getFieldInfoArray(), SST::Statistics::StatisticFieldInfo::getFieldName(), SST::Statistics::StatisticFieldInfo::getFieldType(), SST::Statistics::StatisticOutput::getFieldTypeShortName(), SST::Simulation::getRank(), and SST::Simulation::getSimulation().