SagaSaga
Standard Library

Std.Time

Monotonic time for measuring durations.

Functions

monotonic_ms

fun monotonic_ms : Unit -> Int

Returns the current monotonic time in milliseconds. Useful for measuring elapsed time between two points. The absolute value is meaningless -- only differences matter.