SST 12.1.0
Structural Simulation Toolkit
|
Represents the configuration of a generic Link. More...
#include <configGraph.h>
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 void | serialize_order (serializer &ser)=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) |
Represents the configuration of a generic Link.
|
inlineoverridevirtual |
Implements SST::Core::Serialization::serializable.
ComponentId_t SST::ConfigLink::component[2] |
IDs of the connected components
Referenced by SST::ConfigGraph::addLink(), SST::ConfigGraph::checkForStructuralErrors(), SST::ConfigComponent::checkPorts(), print(), and SST::Simulation_impl::processGraphInfo().
LinkId_t SST::ConfigLink::id |
ID of this link
Referenced by SST::ConfigGraph::addLink().
SimTime_t SST::ConfigLink::latency[2] |
Latency from each side
Referenced by getMinLatency(), and print().
std::string SST::ConfigLink::latency_str[2] |
Temp string holding latency
Referenced by SST::ConfigGraph::addLink().
std::string SST::ConfigLink::name |
Name of this link
Referenced by SST::ConfigGraph::checkForStructuralErrors(), SST::ConfigComponent::checkPorts(), and print().
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().
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().
std::string SST::ConfigLink::port[2] |
Names of the connected ports
Referenced by SST::ConfigGraph::addLink(), SST::ConfigComponent::checkPorts(), and print().