<- CRPL reference <- Utility Commands

ElapsedTime

ArgumentsResultNotation
Elapsed app time in ms – f1

Description

Pushes to the stack the number of milliseconds, as a floating point number, since the application started.

Examples

# Measure how long it takes to call a function
ElapsedTime ->startTime
@SomeFunctionCall
ElapsedTime ->stopTime
trace2("TIME: " <-stopTime sub (<-startTime))