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"
21namespace SST::CoreTestComponent {
27 SST_ELI_REGISTER_COMPONENT(
31 SST_ELI_ELEMENT_VERSION(1,0,0),
32 "CoreTest Test Links",
33 COMPONENT_CATEGORY_UNCATEGORIZED
36 SST_ELI_DOCUMENT_PARAMS(
37 {
"id",
"ID of component",
"" },
38 {
"added_send_latency",
"Additional output latency to add to sends",
"0ns"},
39 {
"added_recv_latency",
"Additional input latency to add to incoming events",
"0ns"},
40 {
"link_time_base",
"Timebase for links",
"1ns" }
44 SST_ELI_DOCUMENT_STATISTICS()
46 SST_ELI_DOCUMENT_PORTS(
47 {
"Elink",
"Link to the East", {
"NullEvent",
"" } },
48 {
"Wlink",
"Link to the West", {
"NullEvent",
"" } }
52 SST_ELI_DOCUMENT_SUBCOMPONENT_SLOTS(
65 void handleEvent(
SST::Event* ev, std::string from);
66 virtual bool clockTic(SST::Cycle_t);
Main component object for the simulation.
Definition component.h:32
Definition coreTest_Links.h:24
void finish() override
Called after complete phase, but before objects are destroyed.
Definition coreTest_Links.h:59
void setup() override
Called after all components have been constructed and initialization has completed,...
Definition coreTest_Links.h:58
Base class for Events - Items sent across links to communicate between components.
Definition event.h:41
Link between two components.
Definition link.h:57
Parameter store.
Definition params.h:65