Timer::read

static public function Timer::read

static public Timer::read($name)

Reads the current timer value without stopping the timer.

Parameters

string $name: The name of the timer.

Return value

int The current timer value in ms.

File

core/lib/Drupal/Component/Utility/Timer.php, line 37

Class

Timer
Provides helpers to use timers throughout a request.

Namespace

登录查看完整内容