Loading

ELAPSED


stack
Since v1.0.0
Available on all platforms
See also

The ELAPSED function pushes onto the stack a list containing timing informations. The first element of the list is the timestamp at which the script was started (in ns). The other elements are the elapsed nanoseconds from the beginning of the script to the end of the execution of the associated script line.

Timing informations are only collected after a call to TIMINGS (its line included) and before a call to NOTIMINGS (its line excluded).

Signature

Examples

TIMINGS NOW DROP ELAPSED // Elapsed has timings for 4 elements and the start timestamp