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