getEndSimTime
UnitAlgebra getEndSimTime() const;
Returns the time that simulation ended, as a time with units. The time will be incorrect unless simulation is ending. To get the end time as a cycle count, use getEndSimCycle().
Parameters
- returns (UnitAlgebra) The time that simulation ended
Example
UnitAlgebra time = getEndSimTime();
getSimulationOutput().output("Simulation ended at %s\n", time.toStringBestSI().c_str());
Header
#include <sst/core/realtimeAction.h>