Stopwatch Read

Pure
StopwatchRead

Returns elapsed seconds since the stopwatch was started.

Type: Pure (no side effects)
Category: Fortuna|Time & Date
Keywords: time & date

Inputs

NameTypeDefaultDescription
StartTimefloatStartTime parameter

Outputs

NameTypeDescription
ElapsedSecondsfloatElapsedSeconds output

Example Use Cases

Example 1

Display a running lap timer.

Example 2

Measure elapsed time for a performance benchmark.