User Tools

Site Tools


crpl:docs:elapsedtime

This is an old revision of the document!


~~DISCUSSION~~ <- 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.1360353529.txt.gz · Last modified: 2014/10/01 15:02 (external edit)