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"
20 namespace CoreTestComponent {
26 SST_ELI_REGISTER_COMPONENT(
30 SST_ELI_ELEMENT_VERSION(1,0,0),
31 "CoreTest Test Links",
32 COMPONENT_CATEGORY_UNCATEGORIZED
35 SST_ELI_DOCUMENT_PARAMS(
36 {
"id",
"ID of component",
"" },
37 {
"added_send_latency",
"Additional output latency to add to sends",
"0ns"},
38 {
"added_recv_latency",
"Additional input latency to add to incoming events",
"0ns"},
39 {
"link_time_base",
"Timebase for links",
"1ns" }
43 SST_ELI_DOCUMENT_STATISTICS()
45 SST_ELI_DOCUMENT_PORTS(
46 {
"Elink",
"Link to the East", {
"NullEvent",
"" } },
47 {
"Wlink",
"Link to the West", {
"NullEvent",
"" } }
51 SST_ELI_DOCUMENT_SUBCOMPONENT_SLOTS(
64 void handleEvent(
SST::Event* ev, std::string from);
65 virtual bool clockTic(SST::Cycle_t);
Main component object for the simulation.
Definition: component.h:31
Definition: coreTest_Links.h:23
void finish()
Called after complete phase, but before objects are destroyed.
Definition: coreTest_Links.h:58
void setup()
Called after all components have been constructed and initialization has completed,...
Definition: coreTest_Links.h:57
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