16 #ifndef _CORETESTCLOCKERCOMPONENT_H
17 #define _CORETESTCLOCKERCOMPONENT_H
19 #include <sst/core/component.h>
22 namespace CoreTestClockerComponent {
29 SST_ELI_REGISTER_COMPONENT(
32 "coreTestClockerComponent",
33 SST_ELI_ELEMENT_VERSION(1,0,0),
34 "Clock Benchmark Component",
35 COMPONENT_CATEGORY_UNCATEGORIZED
38 SST_ELI_DOCUMENT_PARAMS(
39 {
"clock",
"Clock frequency",
"1GHz" },
40 {
"clockcount",
"Number of clock ticks to execute",
"100000"}
44 SST_ELI_DOCUMENT_STATISTICS(
48 SST_ELI_DOCUMENT_PORTS(
52 SST_ELI_DOCUMENT_SUBCOMPONENT_SLOTS(
64 virtual bool tick(SST::Cycle_t);
66 virtual bool Clock2Tick(SST::Cycle_t, uint32_t);
67 virtual bool Clock3Tick(SST::Cycle_t, uint32_t);
69 virtual void Oneshot1Callback(uint32_t);
70 virtual void Oneshot2Callback();
79 std::string clock_frequency_str;
A class to convert between a component's view of time and the core's view of time.
Definition: timeConverter.h:25
Main component object for the simulation.
Definition: component.h:31
Definition: coreTest_ClockerComponent.h:24
Functor classes for Clock handling.
Definition: clock.h:41
void setup()
Called after all components have been constructed and initialization has completed, but before simulation time has begun.
Definition: coreTest_ClockerComponent.h:56
Parameter store.
Definition: params.h:44
void finish()
Called after simulation completes, but before objects are destroyed.
Definition: coreTest_ClockerComponent.h:57
Functor classes for OneShot handling.
Definition: oneshot.h:39