SST::Statistics::StatisticOutputConsole Class Reference

The class for statistics output to the console. More...

#include <statoutputconsole.h>

Inheritance diagram for SST::Statistics::StatisticOutputConsole:
SST::Statistics::StatisticOutput SST::Module

Public Member Functions

 StatisticOutputConsole (Params &outputParameters)
 Construct a StatOutputConsole.

Protected Member Functions

bool checkOutputParameters ()
 Perform a check of provided parameters.
void printUsage ()
 Print out usage for this Statistic Output.
void startOfSimulation ()
 Indicate to Statistic Output that simulation started.
void endOfSimulation ()
 Indicate to Statistic Output that simulation ended.
void implStartOutputEntries (StatisticBase *statistic)
 Implementation function for the start of output.
void implStopOutputEntries ()
 Implementation function for the end of output.
void implOutputField (fieldHandle_t fieldHandle, int32_t data)
 Implementation functions for output.
void implOutputField (fieldHandle_t fieldHandle, uint32_t data)
void implOutputField (fieldHandle_t fieldHandle, int64_t data)
void implOutputField (fieldHandle_t fieldHandle, uint64_t data)
void implOutputField (fieldHandle_t fieldHandle, float data)
void implOutputField (fieldHandle_t fieldHandle, double data)

Friends

class boost::serialization::access

Detailed Description

The class for statistics output to the console.

This will be the default statistic output in SST.


Constructor & Destructor Documentation

SST::Statistics::StatisticOutputConsole::StatisticOutputConsole ( Params outputParameters  ) 

Construct a StatOutputConsole.

Parameters:
outputParameters - Parameters used for this Statistic Output

References SST::Simulation::getSimulation(), SST::Simulation::getSimulationOutput(), and SST::Output::verbose().


Member Function Documentation

bool SST::Statistics::StatisticOutputConsole::checkOutputParameters (  )  [protected, virtual]

Perform a check of provided parameters.

Returns:
True if all required parameters and options are acceptable

Implements SST::Statistics::StatisticOutput.

References SST::Params::find_string(), and SST::Statistics::StatisticOutput::getOutputParameters().

void SST::Statistics::StatisticOutputConsole::endOfSimulation (  )  [protected, virtual]

Indicate to Statistic Output that simulation ended.

Statistic output may perform any shutdown code here as necessary.

Implements SST::Statistics::StatisticOutput.

void SST::Statistics::StatisticOutputConsole::implOutputField ( fieldHandle_t  fieldHandle,
int32_t  data 
) [protected, virtual]

Implementation functions for output.

These will be called by the statistic to provide Statistic defined data to be output.

Parameters:
fieldHandle - The handle to the registered statistic field.
data - The data related to the registered field to be output.

Implements SST::Statistics::StatisticOutput.

References SST::Statistics::StatisticFieldInfo::getFieldName(), SST::Statistics::StatisticFieldInfo::getFieldType(), SST::Statistics::StatisticOutput::getFieldTypeShortName(), and SST::Statistics::StatisticOutput::getRegisteredField().

void SST::Statistics::StatisticOutputConsole::implStartOutputEntries ( StatisticBase statistic  )  [protected, virtual]

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.

Parameters:
statistic - Pointer to the statistic object than the output can retrieve data from.

Implements SST::Statistics::StatisticOutput.

References SST::Statistics::StatisticBase::getFullStatName(), and SST::Statistics::StatisticBase::getStatTypeName().

void SST::Statistics::StatisticOutputConsole::implStopOutputEntries (  )  [protected, virtual]

Implementation function for the end of output.

This will be called by the Statistic Processing Engine to indicate that a Statistic is finished sendind data to the Statistic Output for processing. The Statisic Output can perform any output related functions here.

Implements SST::Statistics::StatisticOutput.

void SST::Statistics::StatisticOutputConsole::startOfSimulation (  )  [protected, virtual]

Indicate to Statistic Output that simulation started.

Statistic output may perform any startup code here as necessary.

Implements SST::Statistics::StatisticOutput.


The documentation for this class was generated from the following files:

Generated on 14 Sep 2015 for SST by  doxygen 1.6.1