static public Timer::start($name)
Starts the timer with the specified name.
If you start and stop the same timer multiple times, the measured intervals will be accumulated.
$name: The name of the timer.
static public function start($name) { static::$timers[$name]['start'] = microtime(TRUE); static::$timers[$name]['count'] = isset(static::$timers[$name]['count']) ? ++static::$timers[$name]['count'] : 1; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Utility!Timer.php/function/Timer::start/8.1.x