Skip to main content

getCurrentSimCycle

SimTime_t getCurrentSimCycle() const;

Returns the current simulation time as a cycle count in terms of the SST-Core time base.

Parameters

  • returns The current simulation cycle count.

Example

SimTime_T cycles = getCurrentSimCycle();
#include <sst/core/realtimeAction.h>