You are here

public static function ReportConstants::getSortableColumns in XHProf 8

Returns collumns to allow sorting.

Return value

array Keyed array of indicators.

2 calls to ReportConstants::getSortableColumns()
BaseParser::initMetrics in src/XHProfLib/Parser/BaseParser.php
XHProfController::getRunHeader in src/Controller/XHProfController.php

File

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

Class

ReportConstants
Provides helpers for string constants.

Namespace

Drupal\xhprof\XHProfLib\Report

Code

public static function getSortableColumns() {
  return [
    "fn" => 1,
    "ct" => 1,
    "wt" => 1,
    "excl_wt" => 1,
    "ut" => 1,
    "excl_ut" => 1,
    "st" => 1,
    "excl_st" => 1,
    "mu" => 1,
    "excl_mu" => 1,
    "pmu" => 1,
    "excl_pmu" => 1,
    "cpu" => 1,
    "excl_cpu" => 1,
    "samples" => 1,
    "excl_samples" => 1,
  ];
}