Skip to content
Snippets Groups Projects
Commit 7710c344 authored by Deucе's avatar Deucе :ok_hand_tone4:
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
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #1864 passed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment