Skip to content

Use monotonic time on all platforms, dropping "boot time". - #130

Merged
galenhuntington merged 1 commit into
masterfrom
boottime-to-mono
Jun 15, 2026
Merged

Use monotonic time on all platforms, dropping "boot time".#130
galenhuntington merged 1 commit into
masterfrom
boottime-to-mono

Conversation

@galenhuntington

Copy link
Copy Markdown
Owner

As of Linux 4.17 (2018), these clocks are identical, so we can drop this CPP and OS check, and not have to worry it might introduce any funny platform dependence.

If anyone is stuck on an old Linux kernel, the only negative effect is that the uptime clock might not count time while the computer is suspended, not a major UI defect.

@galenhuntington
galenhuntington merged commit 604943d into master Jun 15, 2026
5 checks passed
@galenhuntington
galenhuntington deleted the boottime-to-mono branch June 15, 2026 21:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant