Lines Matching refs:rusage
2 pcntl_waitpid() and rusage
13 var_dump(pcntl_waitpid($pid, $status, WUNTRACED, $rusage));
14 var_dump($rusage['ru_utime.tv_sec']);
15 var_dump($rusage['ru_utime.tv_usec']);
19 $rusage = array(1,2,3);
20 pcntl_waitpid($pid, $status, WUNTRACED, $rusage);
21 var_dump($rusage['ru_utime.tv_sec']);
22 var_dump($rusage['ru_utime.tv_usec']);
24 $rusage = "string";
25 pcntl_waitpid($pid, $status, 0, $rusage);
26 var_dump(gettype($rusage));
27 var_dump(count($rusage));
29 $rusage = new stdClass;
30 pcntl_waitpid($pid, $status, 0, $rusage);
31 var_dump(gettype($rusage));
32 var_dump(count($rusage));