Timer::stop
static public function Timer::stop
static public Timer::stop($name)
Stops the timer with the specified name.
Parameters
string $name: The name of the timer.
Return value
array A timer array. The array contains the number of times the timer has been started and stopped (count) and the accumulated timer value in ms (time).
File
- core/lib/Drupal/Component/Utility/Timer.php, line 60
Class
- Timer
- Provides helpers to use timers throughout a request.