You are here

public function TidewaysXHProfExtension::getOptions in XHProf 8

Returns the options supported by this extension.

Return value

array Keyed array of allowed profiling options for the extension.

Overrides ExtensionInterface::getOptions

File

src/Extension/TidewaysXHProfExtension.php, line 22

Class

TidewaysXHProfExtension
Implements support for tideways xhprof extension.

Namespace

Drupal\xhprof\Extension

Code

public function getOptions() {
  return [
    'FLAGS_CPU' => 'TIDEWAYS_XHPROF_FLAGS_CPU',
    'FLAGS_MEMORY' => 'TIDEWAYS_XHPROF_FLAGS_MEMORY',
    'FLAGS_NO_BUILTINS' => 'TIDEWAYS_XHPROF_FLAGS_NO_BUILTINS',
  ];
}