You are here

public function XHProfExtension::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/XHProfExtension.php, line 33

Class

XHProfExtension
Implements support for PHP 7 XHProf extension.

Namespace

Drupal\xhprof\Extension

Code

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