You are here

public function UprofilerExtension::enable in XHProf 8

Enables the profiling with the extension.

Parameters

int $modifier: Flags to add additional information to the profiling.

array $options: An array of optional options.

Overrides ExtensionInterface::enable

File

src/Extension/UprofilerExtension.php, line 33

Class

UprofilerExtension
Implements support for uprofiler extension.

Namespace

Drupal\xhprof\Extension

Code

public function enable($modifier, $options) {
  uprofiler_enable($modifier, $options);
}