#include "interrupts/Context.h" #include "thread/Scheduler.h" void sys_clock(Context* context) { Task* current_task = Scheduler::current_task(); context->rax = (long)current_task->cpu_time; return; }