1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:47:34 +00:00

Kernel: Add Processor::time_spent_idle()

This commit is contained in:
Idan Horowitz 2021-10-07 21:42:40 +03:00 committed by Andreas Kling
parent 9958277317
commit 900fac27c6
2 changed files with 7 additions and 0 deletions

View file

@ -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()