You are here

public function TraceableViewExecutable::getExecuteTime in Devel 8.3

Same name and namespace in other branches
  1. 8 webprofiler/src/Views/TraceableViewExecutable.php \Drupal\webprofiler\Views\TraceableViewExecutable::getExecuteTime()
  2. 8.2 webprofiler/src/Views/TraceableViewExecutable.php \Drupal\webprofiler\Views\TraceableViewExecutable::getExecuteTime()
  3. 4.x webprofiler/src/Views/TraceableViewExecutable.php \Drupal\webprofiler\Views\TraceableViewExecutable::getExecuteTime()

Gets the execute time.

Return value

float

File

webprofiler/src/Views/TraceableViewExecutable.php, line 33

Class

TraceableViewExecutable
Class TraceableViewExecutable.

Namespace

Drupal\webprofiler\Views

Code

public function getExecuteTime() {
  return property_exists($this, 'execute_time') ? $this->execute_time : 0.0;
}