Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.
- Loading branch information
Showing
3 changed files
with
4 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters