get-internal-real-time
(get-internal-real-time)
Returns the elapsed real (wall-clock) time in milliseconds, suitable for timing operations by taking the difference of two readings. The interpreter and JVM return an integer; the WASM backend returns a float. The absolute value is only meaningful relative to another reading, not as a calendar time.
A typical use is (- (get-internal-real-time) start) to measure how many milliseconds a computation took. Because it reflects the current clock, the value is non-deterministic.