12 #ifndef SST_CORE_CORETEST_MODULE_H 13 #define SST_CORE_CORETEST_MODULE_H 15 #include "sst/core/component.h" 16 #include "sst/core/link.h" 17 #include "sst/core/module.h" 18 #include "sst/core/rng/rng.h" 26 namespace CoreTestModule {
34 SST_ELI_REGISTER_MODULE(
38 SST_ELI_DOCUMENT_PARAMS(
39 {
"rng",
"The random number generator to use (Marsaglia or Mersenne), default is Mersenne",
"Mersenne"},
40 {
"seed_w",
"The seed to use for the random number generator",
"7" },
41 {
"seed_z",
"The seed to use for the random number generator",
"5" },
42 {
"seed",
"The seed to use for the random number generator.",
"11" },
47 std::string getRNGType()
const;
64 SST_ELI_REGISTER_COMPONENT(
67 "coreTestModuleLoader",
68 SST_ELI_ELEMENT_VERSION(1,0,0),
69 "Component that loads an RNG module",
70 COMPONENT_CATEGORY_UNCATEGORIZED
73 SST_ELI_DOCUMENT_PARAMS(
74 {
"seed_w",
"The seed to use for the random number generator",
"7" },
75 {
"seed_z",
"The seed to use for the random number generator",
"5" },
76 {
"seed",
"The seed to use for the random number generator.",
"11" },
77 {
"rng",
"The random number generator to use (Marsaglia or Mersenne), default is Mersenne",
"Mersenne"},
78 {
"count",
"The number of random numbers to generate, default is 1000",
"1000" },
79 {
"verbose",
"Sets the output verbosity of the component",
"0" }
83 SST_ELI_DOCUMENT_STATISTICS(
87 SST_ELI_DOCUMENT_PORTS(
91 SST_ELI_DOCUMENT_SUBCOMPONENT_SLOTS(
96 void setup()
override;
97 void finish()
override;
104 virtual bool tick(SST::Cycle_t);
115 #endif // SST_CORE_CORETEST_MODULE_H Output object provides consistent method for outputting data to stdout, stderr and/or sst debug file...
Definition: output.h:53
Implements the base class for random number generators for the SST core.
Definition: rng.h:29
Definition: constant.h:21
This class is basically a wrapper for objects to declare the order in which their members should be s...
Definition: serializer.h:43
Main component object for the simulation.
Definition: component.h:30
Definition: coreTest_Module.h:28
Module is a tag class used with the loadModule function.
Definition: module.h:22
Parameter store.
Definition: params.h:55
Definition: coreTest_Module.h:60