array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'ru', ), 'this' => array ( 0 => 'function.pcntl-getcpu.php', 1 => 'pcntl_getcpu', 2 => 'Get the CPU number on which the calling process last executed', ), 'up' => array ( 0 => 'ref.pcntl.php', 1 => 'Функции модуля PCNTL', ), 'prev' => array ( 0 => 'function.pcntl-get-last-error.php', 1 => 'pcntl_get_last_error', ), 'next' => array ( 0 => 'function.pcntl-getcpuaffinity.php', 1 => 'pcntl_getcpuaffinity', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/pcntl/functions/pcntl-getcpu.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>
(No version information available, might only be in Git)
pcntl_getcpu — Get the CPU number on which the calling process last executed
pcntl_getcpu() returns the number of the CPU on which
the calling process was last executed. This function uses the
sched_getcpu(3) system call available on Linux.
Сигнатура функции не содержит параметров.
Returns the CPU number as an int.