diff options
| author | ruki <[email protected]> | 2022-07-29 22:39:16 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-07-29 22:39:16 +0800 |
| commit | 4fc14288cfe6b2ecd0164ffb1b4dd4669adbd72d (patch) | |
| tree | ffdd35c1bfa291cc29f2a7296406d5b7ff85b505 /core/src | |
| parent | 2d782164c5c5d412890fbae2d4b72971c3239dc5 (diff) | |
fix cpuinfo for bsd
Diffstat (limited to 'core/src')
| -rw-r--r-- | core/src/xmake/os/cpuinfo.c | 1 |
1 files changed, 0 insertions, 1 deletions
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) |
