Improve scheduler feedback.

This commit is contained in:
Enrico Fraccaroli
2023-04-19 10:22:14 +02:00
parent d630fd55f7
commit 6aa814f30a
4 changed files with 95 additions and 75 deletions
+3 -2
View File
@@ -238,8 +238,9 @@ task_struct *scheduler_pick_next_task(runqueue_t *runqueue)
// Update the last context switch time of the next task.
next->se.exec_start = timer_get_ticks();
scheduler_feedback_update(next);
scheduler_feedback_task_update(next);
scheduler_feedback_update();
return next;
}