• Deucе's avatar
    Fix msclock() and xp_timer() to be monotonic on *nix · 7710c344
    Deucе authored
    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
js_system.c 69.5 KB