electron/docs/api/structures/cpu-usage.md

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
409 B
Markdown
Raw Normal View History

# CPUUsage Object
* `percentCPUUsage` number - Percentage of CPU used since the last call to getCPUUsage.
First call returns 0.
* `cumulativeCPUUsage` number (optional) - Total seconds of CPU time used since process
startup.
* `idleWakeupsPerSecond` number - The number of average idle CPU wakeups per second
2017-10-03 17:25:42 +00:00
since the last call to getCPUUsage. First call returns 0. Will always return 0 on
Windows.