You are here

public function Profiler::getRun in XHProf 8

Loads a specific run.

Parameters

string $run_id: The run ID.

Return value

\Drupal\xhprof\XHProfLib\Run The run object.

Overrides ProfilerInterface::getRun

File

src/Profiler.php, line 212

Class

Profiler
Provides profiler service.

Namespace

Drupal\xhprof

Code

public function getRun($run_id) {
  return $this
    ->getStorage()
    ->getRun($run_id, $this
    ->getNamespace());
}