Files
Henrik RydgårdandClaude Opus 5 72d85f2b25 Common: Document the cross-platform suspend semantics of the monotonic clock
Comment only. Whether the monotonic clock counts time spent asleep differs per
platform, and the names invite exactly the wrong assumption: Apple's
CLOCK_MONOTONIC behaves like Linux's CLOCK_BOOTTIME, not like Linux's
CLOCK_MONOTONIC. We now skip suspended time on Linux/Android and Mac/iOS, but
not on Windows, where QPC is documented to include standby and hibernate.

Writing down why that's deliberate, so the Apple branch doesn't get "fixed"
back to CLOCK_MONOTONIC by someone who reads it as the portable spelling.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JZk5y4Fzw811WJoNWZb8Sc
2026-08-07 12:47:55 +02:00
..
2025-02-11 10:43:39 -06:00
2026-07-30 10:03:15 +02:00
2026-07-21 14:00:02 +02:00
2026-08-07 08:49:29 +02:00
2025-08-31 13:37:43 +02:00
2025-01-08 17:02:39 +01:00
2026-01-30 14:10:32 +01:00
2026-03-30 11:34:19 -06:00
2026-07-30 10:03:15 +02:00
2026-07-29 14:42:24 +02:00
2024-07-26 14:22:31 +02:00
2025-09-02 13:26:04 +02:00
2025-08-31 13:37:43 +02:00
2026-06-02 17:16:45 +02:00
2026-05-16 10:40:08 +02:00