public static function PHP_Timer::stop

Stops the timer and returns the elapsed time.

Return value

float

3 calls to PHP_Timer::stop()

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);
}