CPUUsage 对象
优质
小牛编辑
178浏览
2023-12-01
percentCPUUsage
自上次调用 getCPUUsage 以来使用的 CPU 百分比。第一次调用返回0。idleWakeupsPerSecond
数字-自上次调用 getCPUUsage 以来, 每秒平均空闲 cpu wakeups 数。第一次调用返回0。将总是在窗口返回0。
CPUUsage Object
percentCPUUsage
Number - Percentage of CPU used since the last call to getCPUUsage.
First call returns 0.idleWakeupsPerSecond
Number - The number of average idle cpu wakeups per second
since the last call to getCPUUsage. First call returns 0. Will always return 0 on
Windows.