getEndSimCycle
SimTime_t getEndSimCycle() const;
Availability: Component, SubComponent, ComponentExtension
Returns the time the simulation ended as a cycle count. See getCoreTimeBase for cycle time. This function is for use in the complete() and finish() phases of simulation.
Parameters
- returns (SimTime_t) The time simulation ended in core cycles
Example
output.output("The simulation finished after %" PRIu64 " cycles.\n", getEndSimCycle());
Header
#include <sst/core/component.h> // or
#include <sst/core/subcomponent.h> // or
#include <sst/core/componentExtension.h>