public function Profiler::shutdown in XHProf 8
Shutdown and disable XHProf profiling.
Report is saved with selected storage.
Return value
string The run ID.
Overrides ProfilerInterface::shutdown
File
- src/
Profiler.php, line 110
Class
- Profiler
- Provides profiler service.
Namespace
Drupal\xhprofCode
public function shutdown($runId) {
$xhprof_data = $this->activeExtension
->disable();
$this->enabled = FALSE;
return $this->storage
->saveRun($xhprof_data, $this
->getNamespace(), $runId);
}