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"
24 namespace 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);
78 #endif // SST_CORE_CORETEST_LINKS_H
void finish()
Called after simulation completes, but before objects are destroyed.
Definition: coreTest_Links.h:62
Main component object for the simulation.
Definition: component.h:30
Definition: coreTest_Links.h:26
Parameter store.
Definition: params.h:43
void setup()
Called after all components have been constructed and initialization has completed, but before simulation time has begun.
Definition: coreTest_Links.h:61
Base class for Events - Items sent across links to communicate between components.
Definition: event.h:31
Link between two components.
Definition: link.h:31