feat: further kernel power and power optimizations
This commit is contained in:
1 parent
7d6f001659
commit
38b1f8a7ef
31 files changed
+895
-52
No files matched your search
@@ -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);
|
||||
};
|
||||
Reference in new issue
Block a user