You are here

public static function ReportConstants::getDescriptions in XHProf 8

Returns mapping of indicators description.

Return value

array Keyed array of indicator and its description.

2 calls to ReportConstants::getDescriptions()
XHProfController::runAction in src/Controller/XHProfController.php
Renders the run.
XHProfController::symbolAction in src/Controller/XHProfController.php

File

src/XHProfLib/Report/ReportConstants.php, line 43

Class

ReportConstants
Provides helpers for string constants.

Namespace

Drupal\xhprof\XHProfLib\Report

Code

public static function getDescriptions() {
  return [
    "fn" => "Function Name",
    "ct" => "Calls",
    "ct_perc" => "Calls%",
    "wt" => "Incl. Wall Time (μs)",
    "wt_perc" => "IWall%",
    "excl_wt" => "Excl. Wall Time (μs)",
    "excl_wt_perc" => "EWall%",
    "ut" => "Incl. User (μs)",
    "ut_perc" => "IUser%",
    "excl_ut" => "Excl. User (μs)",
    "excl_ut_perc" => "EUser%",
    "st" => "Incl. Sys (μs)",
    "st_perc" => "ISys%",
    "excl_st" => "Excl. Sys (μs)",
    "excl_st_perc" => "ESys%",
    "cpu" => "Incl. CPU (μs)",
    "cpu_perc" => "ICpu%",
    "excl_cpu" => "Excl. CPU (μs)",
    "excl_cpu_perc" => "ECPU%",
    "mu" => "Incl. MemUse (bytes)",
    "mu_perc" => "IMemUse%",
    "excl_mu" => "Excl. MemUse (bytes)",
    "excl_mu_perc" => "EMemUse%",
    "pmu" => "Incl. PeakMemUse (bytes)",
    "pmu_perc" => "IPeakMemUse%",
    "excl_pmu" => "Excl. PeakMemUse (bytes)",
    "excl_pmu_perc" => "EPeakMemUse%",
    "samples" => "Incl. Samples",
    "samples_perc" => "ISamples%",
    "excl_samples" => "Excl. Samples",
    "excl_samples_perc" => "ESamples%",
  ];
}