Commit Graph
3 Commits
Author SHA1 Message Date
Nicolas AboschandClaude Sonnet 5.5 60d5149efa test(libkernel): run guest_sleep_wake_coarse on Windows only
APS5_COARSE_TIMED_WAITS is read under _WIN32 only; on Linux the condition
variable path always ends a sleep when a completion arrives.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 19:15:28 -03:00
Nicolas AboschandClaude Sonnet 5.5 447b744ddf test(libkernel): run guest_sleep_wake with coarse timed waits too
With APS5_COARSE_TIMED_WAITS set a sleep is never ended early.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
2026-10-19 12:44:39 -03:00
Nicolas AboschandClaude Opus 5.5 82dd286192 perf(libkernel): end short sleeps when the GPU or a flip completes
A sleep of 1 ms or less returns once the AGC driver sees a GPU batch
complete (a thread waits on the recorder's timeline semaphore), runs a
batch's completion actions, or VideoOut completes a flip. A thread
returns early at most 8 times in a run of back-to-back sleeps; the run
restarts when the thread submits AGC work or did not sleep for the
requested time. APS5_NO_SLEEP_WAKE=1 keeps every sleep in full.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-15 22:50:57 -03:00