User Tools

Site Tools


crpl:docs:elapsedtime

This is an old revision of the document!


~~DISCUSSION~~ <- CRPL reference <- Utility Commands

ElapsedTime

ArgumentsResultNotation
Elapsed time in ms – f1

Description

Pushed the number of milliseconds (as a floating point number) to the stack 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.1360353481.txt.gz · Last modified: 2014/10/01 15:02 (external edit)