You are here

private function Report::getValue in XHProf 8

Parameters

$value:

$metric:

Return value

mixed

2 calls to Report::getValue()
Report::getSummary in src/XHProfLib/Report/Report.php
Report::getSymbols in src/XHProfLib/Report/Report.php

File

src/XHProfLib/Report/Report.php, line 115

Class

Report
Class Report

Namespace

Drupal\xhprof\XHProfLib\Report

Code

private function getValue($value, $metric) {
  $format_cbk = ReportConstants::getFormatCbk();
  return call_user_func($format_cbk[$metric], $value);
}