You are here

public function XHProfParser::getTotals in XHProf 6

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

File

XHProfLib/XHProfParser.php, line 13

Class

XHProfParser

Code

public function getTotals() {
  $this->totals = $this->data['main()'];
  $this->totals['ct'] = $this
    ->getCallCount();
  return $this->totals;
}