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.

© GitHub Inc.
Licensed under the MIT license.
https://www.electronjs.org/docs/latest/api/structures/cpu-usage