public function StopwatchEvent::getEndTime in Devel 8.2
Same name and namespace in other branches
- 8.3 webprofiler/src/Stopwatch.php \Drupal\webprofiler\StopwatchEvent::getEndTime()
- 8 webprofiler/src/Stopwatch.php \Drupal\webprofiler\StopwatchEvent::getEndTime()
- 4.x webprofiler/src/Stopwatch.php \Drupal\webprofiler\StopwatchEvent::getEndTime()
Gets the relative time of the end of the last period.
Return value
integer The time (in milliseconds)
File
- webprofiler/
src/ Stopwatch.php, line 425
Class
- StopwatchEvent
- Class StopwatchEvent
Namespace
Drupal\webprofilerCode
public function getEndTime() {
return ($count = count($this->periods)) ? $this->periods[$count - 1]
->getEndTime() : 0;
}