Instance Property

processorCount

The number of processing cores available on the computer.

Declaration

@property(readonly) NSUInteger processorCount;

Discussion

This property value is equal to the result of entering the command sysctl -n hw.ncpu on the current system.

See Also

Getting Computer Information

activeProcessorCount

The number of active processing cores available on the computer.

physicalMemory

The amount of physical memory on the computer in bytes.

systemUptime

The amount of time the system has been awake since the last time it was restarted.