Home
last modified time | relevance | path

Searched refs:rusage (Results 1 – 7 of 7) sorted by relevance

/PHP-7.1/ext/pcntl/tests/
H A Dpcntl_wait_rusage1.phpt2 pcntl_wait() and rusage
14 var_dump($rusage['ru_utime.tv_sec']);
19 $rusage = array(1,2,3);
24 $rusage = "string";
25 pcntl_wait($status, 0, $rusage);
26 var_dump(gettype($rusage));
27 var_dump(count($rusage));
29 $rusage = new stdClass;
30 pcntl_wait($status, 0, $rusage);
31 var_dump(gettype($rusage));
[all …]
H A Dpcntl_waitpid_rusage1.phpt2 pcntl_waitpid() and rusage
14 var_dump($rusage['ru_utime.tv_sec']);
15 var_dump($rusage['ru_utime.tv_usec']);
19 $rusage = array(1,2,3);
21 var_dump($rusage['ru_utime.tv_sec']);
24 $rusage = "string";
26 var_dump(gettype($rusage));
27 var_dump(count($rusage));
29 $rusage = new stdClass;
31 var_dump(gettype($rusage));
[all …]
/PHP-7.1/win32/
H A Dgetrusage.h62 struct rusage struct
114 PHPAPI int getrusage(int who, struct rusage *usage);
H A Dgetrusage.c40 PHPAPI int getrusage(int who, struct rusage *usage) in getrusage()
44 memset(usage, 0, sizeof(struct rusage)); in getrusage()
/PHP-7.1/ext/standard/
H A Dmicrotime.c114 struct rusage usg; in PHP_FUNCTION()
126 memset(&usg, 0, sizeof(struct rusage)); in PHP_FUNCTION()
/PHP-7.1/ext/pcntl/
H A Dpcntl.c60 ZEND_ARG_INFO(1, rusage)
66 ZEND_ARG_INFO(1, rusage)
651 struct rusage rusage; in PHP_FUNCTION() local
669 memset(&rusage, 0, sizeof(struct rusage)); in PHP_FUNCTION()
670 child_id = wait4((pid_t) pid, &status, options, &rusage); in PHP_FUNCTION()
684 PHP_RUSAGE_TO_ARRAY(rusage, z_rusage); in PHP_FUNCTION()
704 struct rusage rusage; in PHP_FUNCTION() local
721 memset(&rusage, 0, sizeof(struct rusage)); in PHP_FUNCTION()
722 child_id = wait3(&status, options, &rusage); in PHP_FUNCTION()
737 PHP_RUSAGE_TO_ARRAY(rusage, z_rusage); in PHP_FUNCTION()
/PHP-7.1/
H A DNEWS3940 . Added rusage support to pcntl_wait() and pcntl_waitpid(). (Anton Stepanenko,

Completed in 36 milliseconds