public static function PHP_Timer::start

Starts the timer.

3 calls to PHP_Timer::start()
PHPUnit_Extensions_PhptTestCase::run in drupal/core/vendor/phpunit/phpunit/PHPUnit/Extensions/PhptTestCase.php
Runs a test and collects its result in a TestResult instance.
PHPUnit_Framework_TestResult::run in drupal/core/vendor/phpunit/phpunit/PHPUnit/Framework/TestResult.php
Runs a TestCase.
PHP_TimerTest::testStartStop in drupal/core/vendor/phpunit/php-timer/Tests/TimerTest.php
@covers PHP_Timer::start @covers PHP_Timer::stop

File

drupal/core/vendor/phpunit/php-timer/PHP/Timer.php, line 73

Class

PHP_Timer
Utility class for timing.

Code

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