You are here

public function BaseParser::getPossibleMetrics in XHProf 8

Return value

array

2 calls to BaseParser::getPossibleMetrics()
BaseParser::getMetrics in src/XHProfLib/Parser/BaseParser.php
BaseParser::initMetrics in src/XHProfLib/Parser/BaseParser.php

File

src/XHProfLib/Parser/BaseParser.php, line 135

Class

BaseParser
Class BaseReport

Namespace

Drupal\xhprof\XHProfLib\Parser

Code

public function getPossibleMetrics() {
  return [
    "wt" => [
      "Wall",
      "μs",
      "walltime",
    ],
    "ut" => [
      "User",
      "μs",
      "user cpu time",
    ],
    "st" => [
      "Sys",
      "μs",
      "system cpu time",
    ],
    "cpu" => [
      "Cpu",
      "μs",
      "cpu time",
    ],
    "mu" => [
      "MUse",
      "bytes",
      "memory usage",
    ],
    "pmu" => [
      "PMUse",
      "bytes",
      "peak memory usage",
    ],
    "samples" => [
      "Samples",
      "samples",
      "cpu time",
    ],
  ];
}