For "Flat times" output, adds a column with cumulative percentage. Also, since these percentages add up to less than 100% due to timer overhead, we go ahead and scale up all of the "Flat times" percentages proportionally, to make them add to 100%. This makes it easier to compare breakdowns across different pexes.
Also, simplify the output to be simple tabular without extra brackets and whatnot. E.g.:
Total across all functions - Cumulative times:
Seconds Pct EventCnt TimerPath
8.580407 82.6% 0 szmain
8.580054 82.6% 0 szmain.parseModule
8.405447 80.9% 46473 szmain.parseModule.parseFunctions
...
Total across all functions - Flat times:
Seconds Pct CumPct EventCnt TimerName
1.354678 16.0% 16.0% 100716 linearScan
1.131292 13.3% 29.3% 139419 liveness
0.728727 8.6% 37.9% 46473 genCode
...
BUG= none
R=jpp@chromium.org, kschimpf@google.com
Review URL: https://codereview.chromium.org/1870073005 .
| Name |
Last commit
|
Last update |
|---|---|---|
| Makefile.standalone-help | Loading commit data... | |
| bloat | Loading commit data... | |
| crosstest | Loading commit data... | |
| docs | Loading commit data... | |
| pydir | Loading commit data... | |
| runtime | Loading commit data... | |
| src | Loading commit data... | |
| tests_lit | Loading commit data... | |
| unittest | Loading commit data... | |
| .dir-locals.el | Loading commit data... | |
| .gitignore | Loading commit data... | |
| CMakeLists.txt | Loading commit data... | |
| DESIGN.rst | Loading commit data... | |
| LICENSE.TXT | Loading commit data... | |
| Makefile | Loading commit data... | |
| Makefile.standalone | Loading commit data... | |
| OWNERS | Loading commit data... | |
| README-wasm.md | Loading commit data... | |
| README.rst | Loading commit data... | |
| codereview.settings | Loading commit data... |