swoole_cpu_num

(PECL swoole >= 1.9.0)

swoole_cpu_numGet the number of CPU

Description

swoole_cpu_num(): int

Parameters

This function has no parameters.

Return Values

The number of CPU.