12 #ifndef SST_CORE_CORETEST_OVERHEADMEASURE_H 13 #define SST_CORE_CORETEST_OVERHEADMEASURE_H 15 #include "sst/core/component.h" 16 #include "sst/core/link.h" 17 #include "sst/core/rng/marsaglia.h" 27 SST_ELI_REGISTER_COMPONENT(
31 SST_ELI_ELEMENT_VERSION(1,0,0),
32 "Element to measure overheads in the ConfigGraph and BaseComponent base class",
33 COMPONENT_CATEGORY_UNCATEGORIZED
36 SST_ELI_DOCUMENT_PARAMS(
37 {
"id",
"ID of component",
"" }
41 SST_ELI_DOCUMENT_STATISTICS()
43 SST_ELI_DOCUMENT_PORTS(
44 {
"left_%d",
"dth left port ", {
"NullEvent",
"" } },
45 {
"right_%d",
"dth right port ", {
"NullEvent",
"" } }
49 SST_ELI_DOCUMENT_SUBCOMPONENT_SLOTS(
56 void init(
unsigned int UNUSED(phase))
override {}
58 void complete(
unsigned int UNUSED(phase))
override {}
66 bool clockTic(Cycle_t cycle);
68 std::vector<Link*> links_;
73 #endif // SST_CORE_CORETEST_OVERHEADMEASURE_H void init(unsigned int UNUSED(phase)) override
Used during the init phase.
Definition: coreTest_OverheadMeasure.h:56
Main component object for the simulation.
Definition: component.h:30
Definition: coreTest_OverheadMeasure.h:21
void setup() override
Called after all components have been constructed and initialization has completed, but before simulation time has begun.
Definition: coreTest_OverheadMeasure.h:57
Definition: coreTest_OverheadMeasure.h:23
void finish() override
Called after complete phase, but before objects are destroyed.
Definition: coreTest_OverheadMeasure.h:59
Parameter store.
Definition: params.h:63
Base class for Events - Items sent across links to communicate between components.
Definition: event.h:40
void complete(unsigned int UNUSED(phase)) override
Used during the complete phase after the end of simulation.
Definition: coreTest_OverheadMeasure.h:58