Skip to main content

CPUUsage Object

  • percentCPUUsage number - Percentage of CPU used since the last call to getCPUUsage. First call returns 0.自上次调用getCPUUsage以来使用的CPU百分比。第一个调用返回0。
  • idleWakeupsPerSecond number - The number of average idle CPU wakeups per second since the last call to getCPUUsage. 自上次调用getCPUUsage以来,每秒平均空闲CPU唤醒次数。First call returns 0. Will always return 0 on Windows.第一个调用返回0。在Windows上始终返回0。