@@ 509-513 (lines=5) @@ | ||
506 | $this->calculateSelf(); |
|
507 | ||
508 | // Non exclusive metrics are always main() because it is the root call scope. |
|
509 | if (in_array($metric, $this->_exclusiveKeys)) { |
|
510 | $main = $this->_maxValue($metric); |
|
511 | } else { |
|
512 | $main = $this->_collapsed['main()'][$metric]; |
|
513 | } |
|
514 | ||
515 | $this->_visited = $this->_nodes = $this->_links = array(); |
|
516 | $this->_callgraphData(self::NO_PARENT, $main, $metric, $threshold); |
|
@@ 591-595 (lines=5) @@ | ||
588 | $this->calculateSelf(); |
|
589 | ||
590 | // Non exclusive metrics are always main() because it is the root call scope. |
|
591 | if (in_array($metric, $this->_exclusiveKeys)) { |
|
592 | $main = $this->_maxValue($metric); |
|
593 | } else { |
|
594 | $main = $this->_collapsed['main()'][$metric]; |
|
595 | } |
|
596 | ||
597 | $this->_visited = $this->_nodes = $this->_links = array(); |
|
598 | $flamegraph = $this->_flamegraphData(self::NO_PARENT, $main, $metric, $threshold); |