12 #ifndef SST_CORE_REAL_TIME_ACTION_H    13 #define SST_CORE_REAL_TIME_ACTION_H    15 #include "sst/core/eli/elementinfo.h"    16 #include "sst/core/serialization/serializable.h"    17 #include "sst/core/sst_types.h"    18 #include "sst/core/threadsafe.h"    19 #include "sst/core/warnmacros.h"    32     SST_ELI_DECLARE_DEFAULT_INFO_EXTERN()
    33     SST_ELI_DECLARE_DEFAULT_CTOR_EXTERN()
    41     virtual void begin(time_t UNUSED(scheduled_time)) {}
    42     virtual void execute() = 0;
    97     void initiateInteractive(
const std::string& msg);
   102 #ifndef SST_ELI_REGISTER_REALTIMEACTION   103 #define SST_ELI_REGISTER_REALTIMEACTION(cls, lib, name, version, desc) \   104     SST_ELI_REGISTER_DERIVED(SST::RealTimeAction,cls,lib,name,ELI_FORWARD_AS_ONE(version),desc) Output object provides consistent method for outputting data to stdout, stderr and/or sst debug file...
Definition: output.h:53
Output & getSimulationOutput() const
Return the base simulation Output class instance. 
Definition: realtime.cc:139
RankInfo getNumRanks() const
Get the number of parallel ranks in the simulation. 
Definition: realtime.cc:133
UnitAlgebra getEndSimTime() const
Return the end simulation time as a time. 
Definition: realtime.cc:121
UnitAlgebra getCoreTimeBase() const
Get the core timebase. 
Definition: realtime.cc:97
uint64_t getTimeVortexMaxDepth() const
Return the max depth of the TimeVortex. 
Definition: realtime.cc:145
SimTime_t getCurrentSimCycle() const
Return the current simulation time as a cycle count. 
Definition: realtime.cc:103
An event to trigger at a real-time interval. 
Definition: realtimeAction.h:28
void simulationPrintStatus(bool component_status)
Invokes printStatus on the simulation instance component_status indicates whether printStatus should ...
Definition: realtime.cc:163
Definition: rankInfo.h:21
void getMemPoolUsage(int64_t &bytes, int64_t &active_entries)
Return MemPool usage information - per-rank. 
Definition: realtime.cc:151
void simulationSignalShutdown(bool abnormal)
Inform the simulation that a signal requires a shutdown abnormal indicates whether emergencyShutdown(...
Definition: realtime.cc:169
uint64_t getSyncQueueDataSize() const
Return the size of the SyncQueue - per-rank. 
Definition: realtime.cc:157
SimTime_t getEndSimCycle() const
Return the end simulation time as a cycle count. 
Definition: realtime.cc:115
UnitAlgebra getElapsedSimTime() const
Return the elapsed simulation time as a time. 
Definition: realtime.cc:109
RankInfo getRank() const
Get this instance's parallel rank. 
Definition: realtime.cc:127
virtual bool canInitiateCheckpoint()
Let's the core know if this action may trigger a checkpoint so that all the checkpoint infrastructure...
Definition: realtimeAction.h:51
void simulationCheckpoint()
Generate a checkpoint. 
Definition: realtime.cc:175
Performs Unit math in full precision. 
Definition: unitAlgebra.h:106