SST
13.1.0
Structural Simulation Toolkit
|
A Configuration Graph A graph representing Components and Links. More...
#include <configGraph.h>
Public Member Functions | |
void | print (std::ostream &os) const |
Print the configuration graph. | |
size_t | getNumComponents () |
size_t | getNumComponentsInMPIRank (uint32_t rank) |
void | setComponentRanks (RankInfo rank) |
Helper function to set all the ranks to the same value. | |
bool | containsComponentInRank (RankInfo rank) |
Checks to see if rank contains at least one component. | |
bool | checkRanks (RankInfo ranks) |
Verify that all components have valid Ranks assigned. | |
ComponentId_t | addComponent (const std::string &name, const std::string &type) |
Create a new component. | |
void | addGlobalParam (const std::string &global_set, const std::string &key, const std::string &value) |
Add a parameter to a global param set. | |
void | setStatisticOutput (const std::string &name) |
Set the statistic output module. | |
void | addStatisticOutputParameter (const std::string ¶m, const std::string &value) |
Add parameter to the statistic output module. | |
void | setStatisticOutputParams (const Params &p) |
Set a set of parameter to the statistic output module. | |
void | setStatisticLoadLevel (uint8_t loadLevel) |
Set the statistic system load level. | |
std::vector< ConfigStatOutput > & | getStatOutputs () |
const ConfigStatOutput & | getStatOutput (size_t index=0) const |
long | getStatLoadLevel () const |
void | addLink (ComponentId_t comp_id, const std::string &link_name, const std::string &port, const std::string &latency_str, bool no_cut=false) |
Add a Link to a Component on a given Port. | |
void | setLinkNoCut (const std::string &link_name) |
Set a Link to be no-cut. | |
void | postCreationCleanup () |
Perform any post-creation cleanup processes. | |
bool | checkForStructuralErrors () |
Check the graph for Structural errors. | |
ConfigComponentMap_t & | getComponentMap () |
Return the map of components. | |
const std::map< std::string, ConfigStatGroup > & | getStatGroups () const |
ConfigStatGroup * | getStatGroup (const std::string &name) |
bool | containsComponent (ComponentId_t id) const |
ConfigComponent * | findComponent (ComponentId_t) |
ConfigComponent * | findComponentByName (const std::string &name) |
const ConfigComponent * | findComponent (ComponentId_t) const |
bool | containsStatistic (StatisticId_t id) const |
ConfigStatistic * | findStatistic (StatisticId_t) const |
ConfigLinkMap_t & | getLinkMap () |
Return the map of links. | |
ConfigGraph * | getSubGraph (uint32_t start_rank, uint32_t end_rank) |
ConfigGraph * | getSubGraph (const std::set< uint32_t > &rank_set) |
ConfigGraph * | splitGraph (const std::set< uint32_t > &orig_rank_set, const std::set< uint32_t > &new_rank_set) |
PartitionGraph * | getPartitionGraph () |
PartitionGraph * | getCollapsedPartitionGraph () |
void | annotateRanks (PartitionGraph *graph) |
void | getConnectedNoCutComps (ComponentId_t start, std::set< ComponentId_t > &group) |
void | setComponentConfigGraphPointers () |
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 |
Friends | |
class | Simulation_impl |
class | SSTSDLModelDefinition |
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) |
A Configuration Graph A graph representing Components and Links.