You are here

public static function PHP_Timer::start in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpunit/php-timer/src/Timer.php \PHP_Timer::start()

Starts the timer.

2 calls to PHP_Timer::start()
PHPUnit_Extensions_PhptTestCase::run in vendor/phpunit/phpunit/src/Extensions/PhptTestCase.php
Runs a test and collects its result in a TestResult instance.
PHPUnit_Framework_TestResult::run in vendor/phpunit/phpunit/src/Framework/TestResult.php
Runs a TestCase.

File

vendor/phpunit/php-timer/src/Timer.php, line 40

Class

PHP_Timer
Utility class for timing.

Code

public static function start() {
  array_push(self::$startTimes, microtime(true));
}