The number of active processing cores available on the computer.
- iOS 2.0+
- macOS 10.5+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
processor property reports the number of advertised processing cores, the
active 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.
This property value is equal to the result of entering the command
sysctl -n hw on the current system.