SST  13.0.0
StructuralSimulationToolkit
SST::ConfigLink Class Reference

Represents the configuration of a generic Link. More...

#include <configGraph.h>

Inheritance diagram for SST::ConfigLink:
SST::Core::Serialization::serializable

Public Member Functions

LinkId_t key () const
 
SimTime_t getMinLatency () const
 Return the minimum latency of this link (from both sides)
 
void print (std::ostream &os) const
 Print the Link information.
 
void serialize_order (SST::Core::Serialization::serializer &ser) override
 
ImplementSerializable(SST::ConfigLink) private ConfigLink (LinkId_t id)
 
 ConfigLink (LinkId_t id, const std::string &n)
 
void updateLatencies (TimeLord *)
 
- 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

LinkId_t id
 
std::string name
 
ComponentId_t component [2]
 
std::string port [2]
 
SimTime_t latency [2]
 
std::string latency_str [2]
 
LinkId_t order
 
bool no_cut
 

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)
 

Detailed Description

Represents the configuration of a generic Link.

Field Documentation

◆ component

ComponentId_t SST::ConfigLink::component[2]

◆ id

LinkId_t SST::ConfigLink::id

ID of this link

Referenced by SST::ConfigGraph::addLink().

◆ latency

SimTime_t SST::ConfigLink::latency[2]

Latency from each side

◆ latency_str

std::string SST::ConfigLink::latency_str[2]

Temp string holding latency

Referenced by SST::ConfigGraph::addLink().

◆ name

std::string SST::ConfigLink::name

◆ no_cut

bool SST::ConfigLink::no_cut

If set to true, partitioner will not make a cut through this Link

Referenced by SST::ConfigGraph::addLink(), and SST::ConfigGraph::setLinkNoCut().

◆ order

LinkId_t SST::ConfigLink::order

Number of components currently referring to this Link. After graph construction, it will be repurposed to hold the enforce_order value

Referenced by SST::ConfigGraph::addLink(), and SST::ConfigGraph::postCreationCleanup().

◆ port

std::string SST::ConfigLink::port[2]

Names of the connected ports

Referenced by SST::ConfigGraph::addLink(), and SST::ConfigComponent::checkPorts().


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