Provides helpers to use timers throughout a request.
Hierarchy
- class \Drupal\Component\Utility\Timer
Related topics
- Utility classes and functions
- Overview of utility classes and functions for developers.
File
- core/lib/Drupal/Component/Utility/Timer.php, line 10
Namespace
Drupal\Component\Utility
Members
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. |
Please login to continue.