SST
11.0.0
StructuralSimulationToolkit
|
Public Member Functions | |
SSTPythonModelDefinition (const std::string &script_file, int verbosity, Config *config, double start_time, int argc, char **argv) | |
SSTPythonModelDefinition (const std::string &script_file, int verbosity, Config *config, double start_time) | |
ConfigGraph * | createConfigGraph () override |
Create the ConfigGraph. More... | |
Config * | getConfig (void) const |
ConfigGraph * | getGraph (void) const |
Output * | getOutput () const |
ComponentId_t | getNextComponentId () |
ComponentId_t | addComponent (const char *name, const char *type) |
ConfigComponent * | findComponentByName (const char *name) const |
ConfigComponentMap_t & | components () |
void | addLink (ComponentId_t id, const char *link_name, const char *port, const char *latency, bool no_cut) const |
void | setLinkNoCut (const char *link_name) const |
void | pushNamePrefix (const char *name) |
void | popNamePrefix (void) |
char * | addNamePrefix (const char *name) const |
void | setStatisticOutput (const char *Name) |
void | addStatisticOutputParameter (const std::string ¶m, const std::string &value) |
void | setStatisticLoadLevel (uint8_t loadLevel) |
void | addGlobalParameter (const char *set, const char *key, const char *value, bool overwrite) |
UnitAlgebra | getElapsedExecutionTime () const |
UnitAlgebra | getLocalMemoryUsage () const |
Protected Member Functions | |
void | initModel (const std::string &script_file, int verbosity, Config *config, int argc, char **argv) |
Protected Attributes | |
std::string | scriptName |
Output * | output |
Config * | config |
ConfigGraph * | graph |
char * | namePrefix |
size_t | namePrefixLen |
std::vector< size_t > | nameStack |
std::map< std::string, ComponentId_t > | compNameMap |
ComponentId_t | nextComponentId |
double | start_time |
|
overridevirtual |
Create the ConfigGraph.
This function should be overridden by subclasses.
This function is responsible for reading any configuration files and generating a ConfigGraph object.
Implements SST::SSTModelDescription.
References SST::Output::fatal(), and SST::Output::verbose().