swoole_cpu_num

PECL swoole >= 1.9.0
swoole_cpu_num - Get the number of CPU
Manual

swoole_cpu_num( ): int

Parameters

This function has no parameters.

Return Values

The number of CPU.