Description
Gets the CPU usage with default or custom snapshot interval. The default interval is 1000 milli-seconds.
Syntax
getCPUUsage()
getCPUUsage(long ms)
Parameters
Parameter |
Description |
---|---|
long ms |
Time in milli-seconds. This is the time delay between two snapshots.
|