swoole_cpu_num

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

swoole_cpu_numGet the number of CPU

说明

swoole_cpu_num ( void ) : int

参数

此函数没有参数。

返回值

The number of CPU.

User Contributed Notes

There are no user contributed notes for this page.