You are here

function xhprof_param_defaults in XHProf 7

Same name and namespace in other branches
  1. 6 xhprof.module \xhprof_param_defaults()

Get default URL parameters for XHProf.

1 call to xhprof_param_defaults()
xhprof_display_run in ./xhprof.module
Display XHProf run report.

File

./xhprof.module, line 297

Code

function xhprof_param_defaults() {

  // param name, its type, and default value
  return array(
    'run' => '',
    'wts' => '',
    'symbol' => '',
    'sort' => 'wt',
    // wall time
    'run1' => '',
    'run2' => '',
    'source' => 'xhprof',
    'all' => 0,
  );
}