diff options
| author | ruki <[email protected]> | 2022-07-29 00:59:27 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2022-07-29 00:59:27 +0800 |
| commit | 3cc2905368c76fe11bed854eb9944b3198627b0f (patch) | |
| tree | 26c954793b75297992ee3a2a4829e2eb66c39e8f /core/src | |
| parent | 31baf90f4306821056d43e4eaff28b80e87b29f5 (diff) | |
get cpu usage rate for win
Diffstat (limited to 'core/src')
| -rw-r--r-- | core/src/xmake/os/cpuinfo.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/src/xmake/os/cpuinfo.c b/core/src/xmake/os/cpuinfo.c index fa03420b9..8a064f189 100644 --- a/core/src/xmake/os/cpuinfo.c +++ b/core/src/xmake/os/cpuinfo.c @@ -121,6 +121,7 @@ static tb_float_t xm_os_cpuinfo_usagerate() kernel_prev = kernel; user_prev = user; } + return usagerate; #else return 0; #endif |
