summaryrefslogtreecommitdiff
path: root/src/core/cpu_manager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/cpu_manager.cpp')
-rw-r--r--src/core/cpu_manager.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/core/cpu_manager.cpp b/src/core/cpu_manager.cpp
index 604405060..d604aa446 100644
--- a/src/core/cpu_manager.cpp
+++ b/src/core/cpu_manager.cpp
@@ -253,6 +253,7 @@ void CpuManager::SingleCoreRunIdleThread() {
253 while (true) { 253 while (true) {
254 auto& physical_core = kernel.CurrentPhysicalCore(); 254 auto& physical_core = kernel.CurrentPhysicalCore();
255 PreemptSingleCore(false); 255 PreemptSingleCore(false);
256 system.CoreTiming().AddTicks(1000U);
256 idle_count++; 257 idle_count++;
257 auto& scheduler = physical_core.Scheduler(); 258 auto& scheduler = physical_core.Scheduler();
258 scheduler.TryDoContextSwitch(); 259 scheduler.TryDoContextSwitch();