DescriptionSubzero: Rewrite the pass timing infrastructure.
This makes it much more useful for individual analysis and long-term translation performance tracking.
1. Collect and report aggregated across the entire translation, instead of function-by-function. If you really care about a single function, just extract it and translate it separately for analysis.
2. Remove "-verbose time" and just use -timing.
3. Collects two kinds of timings: cumulative and flat. Cumulative measures the total time, even if a callee also times itself. Flat only measures the currently active timer at the top of the stack. The flat times should add up to 100%, but cumulative will usually add up to much more than 100%.
BUG= none
R=jvoung@chromium.org
Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=c4554d784583d26a02eca8610b43511ade516082
Patch Set 1 #
Total comments: 1
Patch Set 2 : Bug fixes and performance improvements #
Total comments: 7
Patch Set 3 : Make the timer tree more efficient #Patch Set 4 : Add a missing timer, reformat #Patch Set 5 : Documentation changes #Patch Set 6 : Fix the problem timing parse() #
Total comments: 16
Patch Set 7 : Code review changes #Patch Set 8 : Make the optimized overlaps() implementation actually correct #
Total comments: 1
Messages
Total messages: 11 (1 generated)
|