mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:38:11 +00:00
Kernel: Add support for profiling kmalloc()/kfree()
This commit is contained in:
parent
572bbf28cc
commit
277f333b2b
10 changed files with 84 additions and 2 deletions
|
@ -442,6 +442,11 @@ void Scheduler::prepare_for_idle_loop()
|
|||
scheduler_data.m_in_scheduler = true;
|
||||
}
|
||||
|
||||
bool Scheduler::colonel_initialized()
|
||||
{
|
||||
return !!s_colonel_process;
|
||||
}
|
||||
|
||||
Process* Scheduler::colonel()
|
||||
{
|
||||
VERIFY(s_colonel_process);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue