News for hackers. Stuff that matters.
Re:Determine durations with monotonic clocks if available by tech2 on Monday January 30, 2023 @06:03AM (#34578214)
"not increasing" is a permissible interpretation of monotonic though. The clock should never go backward, but not increasing for a brief period is acceptable. It does mean you can't use it for 100% high-precision work, but at least you'll not be surprised by a negative result.
Re:Determine durations with monotonic clocks if available by touisteur on Monday January 30, 2023 @01:20PM (#34584057)
But having a clock not progressing might break some wait- and timeout-based designs and you spend a lot of time understanding the strange phenomenon in a large fleet.