Scheduler: Set last running time on thread.
This commit is contained in:
parent
9e9c287f8b
commit
391f5f360d
2 changed files with 2 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue