SST  13.1.0
Structural Simulation Toolkit
SST::ConfigStatGroup Class Reference
Inheritance diagram for SST::ConfigStatGroup:
SST::Core::Serialization::serializable

Public Member Functions

 ConfigStatGroup (const std::string &name)
 
bool addComponent (ComponentId_t id)
 
bool addStatistic (const std::string &name, Params &p)
 
bool setOutput (size_t id)
 
bool setFrequency (const std::string &freq)
 
std::pair< bool, std::string > verifyStatsAndComponents (const ConfigGraph *graph)
 Checks to make sure that all components in the group support all of the statistics as configured in the group. More...
 
void serialize_order (SST::Core::Serialization::serializer &ser) override
 
- Public Member Functions inherited from SST::Core::Serialization::serializable
virtual const char * cls_name () const =0
 
virtual uint32_t cls_id () const =0
 
virtual std::string serialization_name () const =0
 

Data Fields

std::string name
 
std::map< std::string, ParamsstatMap
 
std::vector< ComponentId_t > components
 
size_t outputID
 
UnitAlgebra outputFrequency
 

Additional Inherited Members

- Static Public Attributes inherited from SST::Core::Serialization::serializable
static constexpr uint32_t NullClsId = std::numeric_limits<uint32_t>::max()
 
- Protected Types inherited from SST::Core::Serialization::serializable
enum  cxn_flag_t { ConstructorFlag }
 
- Static Protected Member Functions inherited from SST::Core::Serialization::serializable
static void serializable_abort (uint32_t line, const char *file, const char *func, const char *obj)
 

Member Function Documentation

◆ verifyStatsAndComponents()

std::pair< bool, std::string > SST::ConfigStatGroup::verifyStatsAndComponents ( const ConfigGraph graph)

Checks to make sure that all components in the group support all of the statistics as configured in the group.

Returns
pair of: bool for OK, string for error message (if any)

References SST::ConfigComponent::name, and SST::ConfigComponent::type.


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