You are here

public function XHProfParser::getCallCount in XHProf 6

Same name and namespace in other branches
  1. 7 XHProfLib/XHProfParser.php \XHProfParser::getCallCount()
1 call to XHProfParser::getCallCount()
XHProfParser::getTotals in XHProfLib/XHProfParser.php

File

XHProfLib/XHProfParser.php, line 25

Class

XHProfParser

Code

public function getCallCount() {
  $call_count = 0;
  foreach ($this->data as $symbol) {
    $call_count += $symbol['ct'];
  }
  return $call_count;
}