mirror of
https://github.com/RGBCube/serenity
synced 2025-07-26 06:07:44 +00:00
Kernel/aarch64: Implement Processor::time_spent_idle()
This commit is contained in:
parent
bd2011406e
commit
3f69ef86c2
2 changed files with 7 additions and 5 deletions
|
@ -156,6 +156,11 @@ u32 Processor::clear_critical()
|
|||
return prev_critical;
|
||||
}
|
||||
|
||||
u64 Processor::time_spent_idle() const
|
||||
{
|
||||
return m_idle_thread->time_in_user() + m_idle_thread->time_in_kernel();
|
||||
}
|
||||
|
||||
u32 Processor::smp_wake_n_idle_processors(u32 wake_count)
|
||||
{
|
||||
(void)wake_count;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue