Skip to content

Instance PropertyFoundationEssentials

activeProcessorCount

The number of active processing cores available on the computer.
var activeProcessorCount: Int { get }

Discussion

Whereas the processorCount property reports the number of advertised processing cores, the activeProcessorCount property reflects the actual number of active processing cores on the system. There are a number of different factors that may cause a core to not be active, including boot arguments, thermal throttling, or a manufacturing defect.