Commit 7710c344 authored by Deucе's avatar Deucе 👌🏾
Browse files

Fix msclock() and xp_timer() to be monotonic on *nix

Previously, these both used gettimeofday() which is both expensive
to call, and not monotonic.

This fixes system.clock_ticks in JS and various internal bits. for
when the UTC wall clock jumps.

While we're here, fix the documention of system.clock_ticks
parent 25a1b75d
Pipeline #1864 passed with stage
in 13 minutes and 35 seconds