-
Matthew Draper authored
We calculate idle time by subtracting two separately-obtained values, and apparently it's possible for the CPU-time clock to tick a millisecond ahead of the monotonic clock. I think it's safe to ignore that potential difference in general, but even at the extreme of CPU activity, I'm reasonably confident time doesn't move backwards.
Matthew Draper authoredWe calculate idle time by subtracting two separately-obtained values, and apparently it's possible for the CPU-time clock to tick a millisecond ahead of the monotonic clock. I think it's safe to ignore that potential difference in general, but even at the extreme of CPU activity, I'm reasonably confident time doesn't move backwards.
Loading