Index

:!: Available in version 1.3 and later.

ElapsedTime

ElapsedTime ->time

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
traceallsp("TIME: " <-stopTime <-startTime -)

Index