feat: further kernel power and power optimizations

This commit is contained in:
daniel committed 2026-04-21 20:51:12 +02:00
1 parent 7d6f001659
commit 38b1f8a7ef
31 files changed
+895 -52

No files matched your search

+5
View File
@@ -32,6 +32,11 @@ namespace Timekeeping {
// one-shot LAPIC timer while idle; APs keep their existing simple wait.
void IdleOnce(bool hasMwait, volatile uint64_t* monitorAddr = nullptr);
// Mark recent latency-sensitive input activity. Idle policy uses this to
// stay in shallow, high-responsiveness mode briefly while the user is
// moving the pointer or dragging windows.
void NoteInteractiveActivity(uint32_t durationMs = 250);
// Busy-wait sleep for the given number of milliseconds
void Sleep(uint64_t ms);
};