Provides helpers to use timers throughout a request.
Name | Modifiers | Type | Description |
---|---|---|---|
Timer::$timers | static protected | property | |
Timer::read | static public | function | Reads the current timer value without stopping the timer. |
Timer::start | static public | function | Starts the timer with the specified name. |
Timer::stop | static public | function | Stops the timer with the specified name. |
© 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/class/Timer/8.1.x