CPUUsage

external interface CPUUsage(source)

Properties

Link copied to clipboard
abstract external var cumulativeCPUUsage: Double?

Total seconds of CPU time used since process startup.

Link copied to clipboard
abstract external var idleWakeupsPerSecond: Double

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.

Link copied to clipboard
abstract external var percentCPUUsage: Double

Percentage of CPU used since the last call to getCPUUsage. First call returns 0.