Home
last modified time | relevance | path

Searched refs:getrusage (Results 1 – 12 of 12) sorted by relevance

/PHP-7.1/ext/standard/tests/general_functions/
H A Dgetrusage_error.phpt2 Test getrusage() function : error conditions - incorrect number of args
4 <?php if (!function_exists("getrusage")) print "skip"; ?>
7 /* Prototype : array getrusage ([ int $who ] )
17 echo "*** Testing getrusage() : error conditions ***\n";
21 $dat = getrusage(1, $extra_arg);
25 $dat = getrusage($string_arg);
29 $dat = getrusage($array_arg);
39 $dat = getrusage($obj_arg);
43 $dat = getrusage($file_handle);
49 *** Testing getrusage() : error conditions ***
[all …]
H A Dgetrusage.phpt2 getrusage() tests
4 <?php if (!function_exists("getrusage")) print "skip"; ?>
8 var_dump(gettype(getrusage()));
9 var_dump(gettype(getrusage(1)));
10 var_dump(gettype(getrusage(-1)));
11 var_dump(getrusage(array()));
21 Warning: getrusage() expects parameter 1 to be integer, array given in %s on line %d
H A Dgetrusage_basic.phpt2 Test getrusage() function: basic test
4 <?php if (!function_exists("getrusage")) print "skip"; ?>
7 /* Prototype : array getrusage ([ int $who ] )
13 echo "Simple testcase for getrusage() function\n";
15 $dat = getrusage();
18 echo "TEST FAILED : getrusage should return an array\n";
27 Simple testcase for getrusage() function
H A Dgetrusage_variation1.phpt2 Test getrusage() function : usage variation - diff data types as $who arg
6 if (!function_exists("getrusage")) die("skip");
10 /* Prototype : array getrusage ([ int $who ] )
18 * Pass different data types as $who argument to test behaviour of getrusage()
21 echo "*** Testing getrusage() : usage variations ***\n";
67 // loop through each element of $inputs to check the behavior of getrusage()
71 $res = getrusage($input);
78 *** Testing getrusage() : usage variations ***
/PHP-7.1/ext/standard/
H A Dmicrotime.h29 PHP_FUNCTION(getrusage);
H A Dmicrotime.c112 PHP_FUNCTION(getrusage) in PHP_FUNCTION() argument
128 if (getrusage(who, &usg) == -1) { in PHP_FUNCTION()
H A Dbasic_functions.c2965 PHP_FE(getrusage, arginfo_getrusage)
/PHP-7.1/win32/
H A Dgetrusage.h114 PHPAPI int getrusage(int who, struct rusage *usage);
H A Dgetrusage.c40 PHPAPI int getrusage(int who, struct rusage *usage) in getrusage() function
/PHP-7.1/win32/build/
H A Dconfig.w32252 getrusage.c ftok.c ioutil.c codepage.c");
/PHP-7.1/
H A Dconfigure.in637 getrusage \
H A DNEWS4139 . Added Windows support for getrusage(). (Kalle)

Completed in 44 milliseconds