User Tools

Site Tools


4rpl:commands:elapsedtime

This is an old revision of the document!


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.1611963773.txt.gz · Last modified: 2025/02/14 14:56 (external edit)