From 86fbdef4bdd73d8b2ac35d10b6cbb63ced0d5eb5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=A4=A7=E7=9F=B3=E5=A4=B4X2?= Date: Thu, 29 Dec 2016 00:03:09 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B4=9F=E8=BD=BD=E7=94=B1=E7=99=BE=E5=88=86?= =?UTF-8?q?=E6=AF=94=E6=94=B9=E4=B8=BA=E4=B8=87=E5=88=86=E6=AF=94=EF=BC=8C?= =?UTF-8?q?=E5=B9=B3=E5=9D=87=E8=B4=9F=E8=BD=BD42/10000?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Kernel/Task.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Kernel/Task.cpp b/Kernel/Task.cpp index 7907e66a..dc8772aa 100644 --- a/Kernel/Task.cpp +++ b/Kernel/Task.cpp @@ -433,7 +433,7 @@ void TaskScheduler::ShowStatus() auto now = Sys.Ms(); debug_printf("Task::ShowStatus [%d]", host->Times); - debug_printf(" 负载 %d/100", 100 - (int)(TotalSleep * 100 / now)); + debug_printf(" 负载 %d/10000", 10000 - (int)(TotalSleep * 10000 / now)); debug_printf(" 平均 %dus 最大 %dus 当前 ", host->Cost, host->MaxCost); DateTime::Now().Show(); debug_printf(" 启动 ");