mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-18 08:20:44 +00:00
Kernel: Add Processor::time_spent_idle()
This commit is contained in:
parent
9958277317
commit
900fac27c6
Notes:
sideshowbarker
2024-07-18 02:56:51 +09:00
Author: https://github.com/IdanHo
Commit: 900fac27c6
Pull-request: https://github.com/SerenityOS/serenity/pull/10395
2 changed files with 7 additions and 0 deletions
|
@ -258,6 +258,8 @@ public:
|
|||
|
||||
ALWAYS_INLINE ProcessorInfo& info() { return *m_info; }
|
||||
|
||||
u64 time_spent_idle() const;
|
||||
|
||||
static bool is_smp_enabled();
|
||||
|
||||
ALWAYS_INLINE static Processor& current()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue