GoLang swoole_cpu_num

request it (321)
GoLang replacement for PHP's swoole_cpu_num [edit | history]



Do you know a GoLang replacement for PHP's swoole_cpu_num? Write it!

PHP swoole_cpu_num

PHP original manual for swoole_cpu_num [ show | php.net ]

swoole_cpu_num

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

swoole_cpu_numGet the number of CPU

Description

int swoole_cpu_num ( void )

Parameters

This function has no parameters.

Return Values

The number of CPU.