Stops the timer and returns the elapsed time.
Return value
float
File
- drupal/core/vendor/phpunit/php-timer/PHP/Timer.php, line 83
Class
- PHP_Timer
- Utility class for timing.
Code
public static function stop() {
return microtime(TRUE) - array_pop(self::$startTimes);
}