12#ifndef SST_CORE_CORETEST_LINKS_H 
   13#define SST_CORE_CORETEST_LINKS_H 
   15#include "sst/core/component.h" 
   16#include "sst/core/link.h" 
   17#include "sst/core/rng/marsaglia.h" 
   19namespace SST::CoreTestComponent {
 
   25    SST_ELI_REGISTER_COMPONENT(
 
   29        SST_ELI_ELEMENT_VERSION(1,0,0),
 
   30        "CoreTest Test Links",
 
   31        COMPONENT_CATEGORY_UNCATEGORIZED
 
   34    SST_ELI_DOCUMENT_PARAMS(
 
   35        { 
"id",                 
"ID of component", 
"" },
 
   36        { 
"added_send_latency", 
"Additional output latency to add to sends", 
"0ns"},
 
   37        { 
"added_recv_latency", 
"Additional input latency to add to incoming events", 
"0ns"},
 
   38        { 
"link_time_base",     
"Timebase for links", 
"1ns" }
 
   42    SST_ELI_DOCUMENT_STATISTICS()
 
   44    SST_ELI_DOCUMENT_PORTS(
 
   45        {
"Elink", 
"Link to the East",  { 
"NullEvent", 
"" } },
 
   46        {
"Wlink", 
"Link to the West",  { 
"NullEvent", 
"" } }
 
   50    SST_ELI_DOCUMENT_SUBCOMPONENT_SLOTS(
 
   63    void         handleEvent(
SST::Event* ev, std::string from);
 
   64    virtual bool clockTic(SST::Cycle_t);
 
 
Main component object for the simulation.
Definition component.h:31
Definition coreTest_Links.h:22
void finish() override
Called after complete phase, but before objects are destroyed.
Definition coreTest_Links.h:57
void setup() override
Called after all components have been constructed and initialization has completed,...
Definition coreTest_Links.h:56
Base class for Events - Items sent across links to communicate between components.
Definition event.h:35
Link between two components.
Definition link.h:55
Parameter store.
Definition params.h:58