14 #ifndef SST_CORE_SIMULATION_H
15 #define SST_CORE_SIMULATION_H
18 #include "sst/core/sst_types.h"
20 #include "sst/core/output.h"
21 #include "sst/core/rankInfo.h"
22 #include "sst/core/unitAlgebra.h"
27 #define STATALLFLAG "--ALLSTATS--"
31 class SharedRegionManager;
60 #if !SST_BUILDING_CORE
123 Simulation(Simulation
const&);
124 void operator=(Simulation
const&);
129 #endif //SST_CORE_SIMULATION_H
Output object provides consistent method for outputting data to stdout, stderr and/or sst debug file...
Definition: output.h:54
Definition: sharedRegion.h:135
virtual SimTime_t getEndSimCycle() const =0
Return the end simulation time as a cycle count.
static TimeLord * getTimeLord(void)
Return the TimeLord associated with this Simulation.
Definition: simulation.cc:64
static Simulation * getSimulation()
Return a pointer to the singleton instance of the Simulation.
Definition: simulation.cc:52
Main control class for a SST Simulation.
Definition: simulation.h:38
virtual UnitAlgebra getFinalSimTime() const =0
Return the end simulation time as a time.
virtual RankInfo getRank() const =0
Get this instance's parallel rank.
static SharedRegionManager * getSharedRegionManager()
Returns the Simulation's SharedRegionManager.
Definition: simulation.cc:58
Definition: simulation.h:43
Definition: simulation.h:42
virtual UnitAlgebra getElapsedSimTime() const =0
Return the elapsed simulation time as a time.
virtual void printStatus(bool fullStatus)=0
Causes the current status of the simulation to be printed to stderr.
Definition: rankInfo.h:21
virtual RankInfo getNumRanks() const =0
Get the number of parallel ranks in the simulation.
virtual int getCurrentPriority() const =0
Return the current priority.
Class for creating and managing TimeConverter objects.
Definition: timeLord.h:38
Definition: simulation.h:44
static Output & getSimulationOutput()
Return the base simulation Output class instance.
Definition: simulation.cc:70
virtual SimTime_t getCurrentSimCycle() const =0
Return the current simulation time as a cycle count.
virtual std::string & getOutputDirectory()=0
Returns the output directory of the simulation.
Definition: simulation.h:45
Mode_t
Type of Run Modes.
Definition: simulation.h:41
Performs Unit math in full precision.
Definition: unitAlgebra.h:107
virtual Mode_t getSimulationMode() const =0
Get the run mode of the simulation (e.g.
virtual void requireEvent(const std::string &name)=0
Signifies that an event type is required for this simulation Causes the Factory to verify that the re...
Definition: sharedRegion.h:64