16#ifndef SST_CORE_CORETEST_CLOCKERCOMPONENT_H
17#define SST_CORE_CORETEST_CLOCKERCOMPONENT_H
19#include "sst/core/component.h"
22namespace CoreTestClockerComponent {
28 SST_ELI_REGISTER_COMPONENT(
31 "coreTestClockerComponent",
32 SST_ELI_ELEMENT_VERSION(1,0,0),
33 "Clock Benchmark Component",
34 COMPONENT_CATEGORY_UNCATEGORIZED
37 SST_ELI_DOCUMENT_PARAMS(
38 {
"clock",
"Clock frequency",
"1GHz" },
39 {
"clockcount",
"Number of clock ticks to execute",
"100000"}
43 SST_ELI_DOCUMENT_STATISTICS(
47 SST_ELI_DOCUMENT_PORTS(
51 SST_ELI_DOCUMENT_SUBCOMPONENT_SLOTS(
63 virtual bool tick(SST::Cycle_t);
65 virtual bool Clock2Tick(SST::Cycle_t, uint32_t);
66 virtual bool Clock3Tick(SST::Cycle_t, uint32_t);
68 virtual void Oneshot1Callback(uint32_t);
69 virtual void Oneshot2Callback();
78 std::string clock_frequency_str;
Main component object for the simulation.
Definition: component.h:31
Definition: coreTest_ClockerComponent.h:25
void finish()
Called after complete phase, but before objects are destroyed.
Definition: coreTest_ClockerComponent.h:56
void setup()
Called after all components have been constructed and initialization has completed,...
Definition: coreTest_ClockerComponent.h:55
Parameter store.
Definition: params.h:56
Definition: ssthandler.h:295
Handlers with 1 handler defined argument to callback from caller.
Definition: ssthandler.h:171
A class to convert between a component's view of time and the core's view of time.
Definition: timeConverter.h:27