Scheduler: Set last running time on thread.

This commit is contained in:
Fernando Sahmkow 2020-03-08 21:13:18 -04:00
parent 9e9c287f8b
commit 391f5f360d
2 changed files with 2 additions and 4 deletions

View file

@ -295,10 +295,6 @@ void Thread::SetStatus(ThreadStatus new_status) {
break;
}
if (status == ThreadStatus::Running) {
last_running_ticks = Core::System::GetInstance().CoreTiming().GetCPUTicks();
}
status = new_status;
}