System:getCpuInfo
Method
Purpose
This method (on Mac OS X) returns information on processor activity for all processors on the computer.
Type
Synchronous, IMPACT_INFO.
Arguments
None.
Returns
Name |
Type |
Description |
Processor |
Integer |
Processor (slot) number |
Running |
Integer |
Value of one (1) indicates the processor is running |
Master |
Integer |
Value of one (1) indicates that the processor is the master processor |
% User Time |
Double |
Percent of the time currently run processes execute in |
% System Time |
Double |
Percent of the time currently run processes execute in kernel mode |
% Time Idle |
Double |
Percent of the time when the CPU is in idle state |