Home
last modified time | relevance | path

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

/PHP-8.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-8.1/win32/
H A Dgetrusage.h60 struct rusage struct
112 PHPAPI int getrusage(int who, struct rusage *usage);
H A Dgetrusage.c38 PHPAPI int getrusage(int who, struct rusage *usage) in getrusage()
42 memset(usage, 0, sizeof(struct rusage)); in getrusage()
/PHP-8.1/ext/standard/
H A Dmicrotime.c101 struct rusage usg; in PHP_FUNCTION()
114 memset(&usg, 0, sizeof(struct rusage)); in PHP_FUNCTION()
/PHP-8.1/ext/pcntl/
H A Dpcntl.c598 struct rusage rusage; in PHP_FUNCTION() local
614 memset(&rusage, 0, sizeof(struct rusage)); in PHP_FUNCTION()
615 child_id = wait4((pid_t) pid, &status, options, &rusage); in PHP_FUNCTION()
629 PHP_RUSAGE_TO_ARRAY(rusage, z_rusage); in PHP_FUNCTION()
647 struct rusage rusage; in PHP_FUNCTION() local
662 memset(&rusage, 0, sizeof(struct rusage)); in PHP_FUNCTION()
663 child_id = wait3(&status, options, &rusage); in PHP_FUNCTION()
678 PHP_RUSAGE_TO_ARRAY(rusage, z_rusage); in PHP_FUNCTION()

Completed in 18 milliseconds