array ( 0 => 'index.php', 1 => 'PHP Manual', ), 'head' => array ( 0 => 'UTF-8', 1 => 'de', ), 'this' => array ( 0 => 'hrtime-stopwatch.getelapsedtime.php', 1 => 'HRTime\\StopWatch::getElapsedTime', ), 'up' => array ( 0 => 'class.hrtime-stopwatch.php', 1 => 'HRTime\\StopWatch', ), 'prev' => array ( 0 => 'hrtime-stopwatch.getelapsedticks.php', 1 => 'HRTime\\StopWatch::getElapsedTicks', ), 'next' => array ( 0 => 'hrtime-stopwatch.getlastelapsedticks.php', 1 => 'HRTime\\StopWatch::getLastElapsedTicks', ), 'alternatives' => array ( ), 'source' => array ( 'lang' => 'en', 'path' => 'reference/hrtime/hrtime-stopwatch/getelapsedtime.xml', ), ); $setup["toc"] = $TOC; $setup["toc_deprecated"] = $TOC_DEPRECATED; $setup["parents"] = $PARENTS; manual_setup($setup); ?>
(PECL hrtime >= 0.4.3)
HRTime\StopWatch::getElapsedTime — Get elapsed time for all intervals
Get elapsed time for all the previously closed intervals.
unit
Time unit represented by a HRTime\Unit constant. Default is HRTime\Unit::SECOND.
Returns Float indicating elapsed time.