You are here

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

Class

UprofilerExtension
Implements support for uprofiler extension.

Namespace

Drupal\xhprof\Extension

Code

public function getOptions() {
  return [
    'FLAGS_CPU' => 'UPROFILER_FLAGS_CPU',
    'FLAGS_MEMORY' => 'UPROFILER_FLAGS_MEMORY',
    'FLAGS_NO_BUILTINS' => 'UPROFILER_FLAGS_NO_BUILTINS',
  ];
}