processorCount
The number of processing cores available on the computer.
Declaration
var processorCount: Int { get }Discussion
This property value is equal to the result of entering the command sysctl -n hw.ncpu on the current system.
The number of processing cores available on the computer.
var processorCount: Int { get }This property value is equal to the result of entering the command sysctl -n hw.ncpu on the current system.