getCpuUsage

Gets the CPU usage with default or custom snapshot interval. The default interval is 1000 milli-seconds.

getCpuUsage(); getCpuUsage(long ms); → returns True if the cache region exists.

getCpuUsage Argument Reference

long ms

Time in milli-seconds. This is the time delay between two snapshots.

Fork me on GitHub