public function StopwatchEvent::getEndTime

Gets the relative time of the end of the last period.

Return value

integer The time (in milliseconds)

File

drupal/core/vendor/symfony/http-kernel/Symfony/Component/HttpKernel/Debug/StopwatchEvent.php, line 135

Class

StopwatchEvent
Represents an Event managed by Stopwatch.

Namespace

Symfony\Component\HttpKernel\Debug

Code

public function getEndTime() {
  return ($count = count($this->periods)) ? $this->periods[$count - 1][1] : 0;
}