mirror of
https://git.suyu.dev/suyu/suyu.git
synced 2026-02-23 20:31:14 +00:00
Scheduler: Set last running time on thread.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user