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