Home
last modified time | relevance | path

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

/PHP-8.0/ext/standard/tests/hrtime/
H A Dhrtime.phpt2 Test hrtime() aligns with microtime()
9 $h0 = hrtime(true);
11 $h1 = hrtime(true);
H A Dhrtime_array.phpt2 Test hrtime() return array
6 var_dump(hrtime());
/PHP-8.0/ext/standard/
H A Dhrtime.c100 PHP_MINIT_FUNCTION(hrtime) in PHP_MINIT_FUNCTION() argument
163 PHP_FUNCTION(hrtime) in PHP_FUNCTION() argument
H A Dhrtime.h52 PHP_MINIT_FUNCTION(hrtime);
H A Dconfig.w3238 streamsfuncs.c http.c flock_compat.c random.c hrtime.c", false /* never shared */,
H A Dconfig.m4470 random.c net.c hrtime.c crc32_x86.c,,,
H A Dbasic_functions.stub.php444 function hrtime(bool $as_number = false): array|int|float|false {} function
H A Dbasic_functions_arginfo.h2405 ZEND_FUNCTION(hrtime);
3039 ZEND_FE(hrtime, arginfo_hrtime)
H A Dbasic_functions.c410 BASIC_MINIT_SUBMODULE(hrtime) in PHP_MINIT_FUNCTION()
/PHP-8.0/Zend/
H A Dmicro_bench.php243 $hrtime = hrtime();
244 return (($hrtime[0]*1000000000 + $hrtime[1]) / 1000000000);
H A Dbench.php350 $hrtime = hrtime();
351 return (($hrtime[0]*1000000000 + $hrtime[1]) / 1000000000);
/PHP-8.0/
H A Drun-tests.php823 function hrtime(bool $as_num = false) function
2524 $hrtime = hrtime();
2525 $startTime = $hrtime[0] * 1000000000 + $hrtime[1];
2530 $hrtime = hrtime();
2531 $time = $hrtime[0] * 1000000000 + $hrtime[1] - $startTime;

Completed in 44 milliseconds