AppStatus.getCpuUsage

Get the current cpu usage of this program. Uses the clock() method that returns the total current time used by this program. This is then used to compute the current cpu load of this program.

class AppStatus
void
getCpuUsage
(
out long usage
)

Parameters

usage long

the current CPU usage of this program as a percentage

Meta