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. このプロパティ値は、コマンドsysctl -n hw.ncpuを現在のシステム上で入力する結果に等しいです。

See Also 参照

Getting Computer Information コンピュータ情報を取得する