User Tools

Site Tools


4rpl:commands:elapsedtime

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

4rpl/commands/elapsedtime.txt · Last modified: 2021/01/29 18:42 by virgilw