array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'zh', ), 'this' => array ( 0 => 'hrtime-performancecounter.gettickssince.php', 1 => 'HRTime\\PerformanceCounter::getTicksSince', 2 => 'Ticks elapsed since the given value', ), 'up' => array ( 0 => 'class.hrtime-performancecounter.php', 1 => 'HRTime\\PerformanceCounter', ), 'prev' => array ( 0 => 'hrtime-performancecounter.getticks.php', 1 => 'HRTime\\PerformanceCounter::getTicks', ), 'next' => array ( 0 => 'class.hrtime-stopwatch.php', 1 => 'HRTime\\StopWatch', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/hrtime/hrtime-performancecounter/gettickssince.xml', ), 'history' => array ( ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); contributors($setup); ?>

HRTime\PerformanceCounter::getTicksSince

(PECL hrtime >= 0.6.0)

HRTime\PerformanceCounter::getTicksSinceTicks elapsed since the given value

说明

public static HRTime\PerformanceCounter::getTicksSince(int $start): int

Returns the ticks count elapsed since the given start value.

参数

start

Starting ticks value.

返回值

Returns int indicating the ticks count.