swoole_cpu_num

(PECL swoole >= 1.9.0)

swoole_cpu_numGet the number of CPU

說明

swoole_cpu_num(): int

參數(shù)

此函數(shù)沒有參數(shù)。

返回值

The number of CPU.