commit | 78a2f2ce2b1290a79aeb79d6bf5c34d34b651272 | [log] [tgz] |
---|---|---|
author | Yabin Cui <yabinc@google.com> | Mon Aug 13 16:53:31 2018 -0700 |
committer | Yabin Cui <yabinc@google.com> | Mon Aug 13 16:53:31 2018 -0700 |
tree | d7ec6568ed17b3afc683b30e5d6fffca3ea01708 | |
parent | 2346b3f83c8941edfadba5bc9b1ec2d6407abb86 [diff] |
simpleperf: fix the height of generated flamegraphs. In FlameGraphView, maxDepth can be much bigger than needed. Because _renderSvgNodesWithSameRoot() cuts nodes with width < 0.1%. So fix the function calculating maxDepth. Bug: none Test: run report_html.py manually. Change-Id: I21e76b15d123db80d2cac3fa9bbc7337d8beb7a6