User Tools

Site Tools


crpl:docs:elapsedtime

<- 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))
crpl/docs/elapsedtime.txt · Last modified: 2021/02/05 11:44 by Karsten75