12 #ifndef SST_CORE_CORETEST_CLOCKERCOMPONENT_H 13 #define SST_CORE_CORETEST_CLOCKERCOMPONENT_H 15 #include "sst/core/component.h" 25 SST_ELI_REGISTER_COMPONENT(
28 "coreTestClockerComponent",
29 SST_ELI_ELEMENT_VERSION(1,0,0),
30 "Clock Benchmark Component",
31 COMPONENT_CATEGORY_UNCATEGORIZED
34 SST_ELI_DOCUMENT_PARAMS(
35 {
"clock",
"Clock frequency",
"1GHz" },
36 {
"clockcount",
"Number of clock ticks to execute",
"100000"}
40 SST_ELI_DOCUMENT_STATISTICS(
44 SST_ELI_DOCUMENT_PORTS(
48 SST_ELI_DOCUMENT_SUBCOMPONENT_SLOTS(
60 virtual bool tick(SST::Cycle_t);
62 virtual bool Clock2Tick(SST::Cycle_t, uint32_t);
63 virtual bool Clock3Tick(SST::Cycle_t, uint32_t);
65 virtual void Oneshot1Callback(uint32_t);
66 virtual void Oneshot2Callback();
71 std::string clock_frequency_str;
77 #endif // SST_CORE_CORETEST_CLOCKERCOMPONENT_H Base template for handlers which take a class defined argument.
Definition: ssthandler.h:109
void finish() override
Called after complete phase, but before objects are destroyed.
Definition: coreTest_ClockerComponent.h:53
A class to convert between a component's view of time and the core's view of time.
Definition: timeConverter.h:27
Main component object for the simulation.
Definition: component.h:30
Definition: coreTest_ClockerComponent.h:21
Parameter store.
Definition: params.h:63
void setup() override
Called after all components have been constructed and initialization has completed, but before simulation time has begun.
Definition: coreTest_ClockerComponent.h:52
Definition: coreTest_ClockerComponent.cc:22