function xhprof_get_possible_metrics in XHProf 6
Same name and namespace in other branches
- 7 xhprof.inc \xhprof_get_possible_metrics()
4 calls to xhprof_get_possible_metrics()
- xhprof_full_report in ./
xhprof.inc - Generates a tabular report for all functions. This is the top-level report.
- xhprof_get_metrics in ./
xhprof.inc - xhprof_init_metrics in ./
xhprof.inc - Initialize the metrics we'll display based on the information in the raw data.
- xhprof_symbol_report in ./
xhprof.inc - Generates a report for a single function/symbol.
File
- ./
xhprof.inc, line 1692
Code
function xhprof_get_possible_metrics() {
$possible_metrics = array(
"wt" => array(
"Wall",
"microsecs",
"walltime",
),
"ut" => array(
"User",
"microsecs",
"user cpu time",
),
"st" => array(
"Sys",
"microsecs",
"system cpu time",
),
"cpu" => array(
"Cpu",
"microsecs",
"cpu time",
),
"mu" => array(
"MUse",
"bytes",
"memory usage",
),
"pmu" => array(
"PMUse",
"bytes",
"peak memory usage",
),
"samples" => array(
"Samples",
"samples",
"cpu time",
),
);
return $possible_metrics;
}