From 4fc14288cfe6b2ecd0164ffb1b4dd4669adbd72d Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 29 Jul 2022 22:39:16 +0800 Subject: fix cpuinfo for bsd --- core/src/xmake/os/cpuinfo.c | 1 - 1 file changed, 1 deletion(-) (limited to 'core/src') diff --git a/core/src/xmake/os/cpuinfo.c b/core/src/xmake/os/cpuinfo.c index e5d27a0f3..49f6e27a4 100644 --- a/core/src/xmake/os/cpuinfo.c +++ b/core/src/xmake/os/cpuinfo.c @@ -207,7 +207,6 @@ static tb_float_t xm_os_cpuinfo_usagerate() tb_long_t intr = states[CP_INTR]; tb_long_t idle = states[CP_IDLE]; - tb_trace_i("%ld %ld %ld %ld %ld", user, nice, sys, intr, idle); tb_int64_t active = user + nice + sys + intr; tb_int64_t total = user + nice + sys + idle + intr; if (total_prev > 0 && active_prev > 0) -- cgit v1.3.1