You are here

public static function ReportConstants::getDiffDescriptions in XHProf 8

Returns mapping for diff indicator' descritions.

Return value

array Keyed array of indicator and its description.

File

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

Class

ReportConstants
Provides helpers for string constants.

Namespace

Drupal\xhprof\XHProfLib\Report

Code

public static function getDiffDescriptions() {
  return [
    "fn" => "Function Name",
    "ct" => "Calls Diff",
    "Calls%" => "Calls<br>Diff%",
    "wt" => "Incl. Wall<br>Diff<br>(μs)",
    "IWall%" => "IWall<br> Diff%",
    "excl_wt" => "Excl. Wall<br>Diff<br>(μs)",
    "EWall%" => "EWall<br>Diff%",
    "ut" => "Incl. User Diff<br>(μs)",
    "IUser%" => "IUser<br>Diff%",
    "excl_ut" => "Excl. User<br>Diff<br>(μs)",
    "EUser%" => "EUser<br>Diff%",
    "cpu" => "Incl. CPU Diff<br>(μs)",
    "ICpu%" => "ICpu<br>Diff%",
    "excl_cpu" => "Excl. CPU<br>Diff<br>(μs)",
    "ECpu%" => "ECpu<br>Diff%",
    "st" => "Incl. Sys Diff<br>(μs)",
    "ISys%" => "ISys<br>Diff%",
    "excl_st" => "Excl. Sys Diff<br>(μs)",
    "ESys%" => "ESys<br>Diff%",
    "mu" => "Incl.<br>MemUse<br>Diff<br>(bytes)",
    "IMUse%" => "IMemUse<br>Diff%",
    "excl_mu" => "Excl.<br>MemUse<br>Diff<br>(bytes)",
    "EMUse%" => "EMemUse<br>Diff%",
    "pmu" => "Incl.<br> PeakMemUse<br>Diff<br>(bytes)",
    "IPMUse%" => "IPeakMemUse<br>Diff%",
    "excl_pmu" => "Excl.<br>PeakMemUse<br>Diff<br>(bytes)",
    "EPMUse%" => "EPeakMemUse<br>Diff%",
    "samples" => "Incl. Samples Diff",
    "ISamples%" => "ISamples Diff%",
    "excl_samples" => "Excl. Samples Diff",
    "ESamples%" => "ESamples Diff%",
  ];
}