Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(82)

Issue 1870073005: Subzero: Improve the -timing output. (Closed)

Created:
4 years, 8 months ago by Jim Stichnoth
Modified:
4 years, 8 months ago
Reviewers:
Eric Holk, Karl, sehr, John
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Subzero: Improve the -timing output. 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 Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=9a23e4318c73c21c39b693c69c51da37ee3a4d14

Patch Set 1 #

Total comments: 6

Patch Set 2 : Code review changes #

Total comments: 2

Patch Set 3 : Update comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+37 lines, -39 lines) Patch
M src/IceTimerTree.cpp View 1 2 3 chunks +37 lines, -39 lines 0 comments Download

Messages

Total messages: 10 (4 generated)
Jim Stichnoth
4 years, 8 months ago (2016-04-08 20:59:53 UTC) #4
John
lgtm https://codereview.chromium.org/1870073005/diff/1/src/IceTimerTree.cpp File src/IceTimerTree.cpp (right): https://codereview.chromium.org/1870073005/diff/1/src/IceTimerTree.cpp#newcode231 src/IceTimerTree.cpp:231: void dumpHelper(Ostream &Str, const DumpMapType &Map, double TotalTime, ...
4 years, 8 months ago (2016-04-08 21:04:32 UTC) #5
Jim Stichnoth
https://codereview.chromium.org/1870073005/diff/1/src/IceTimerTree.cpp File src/IceTimerTree.cpp (right): https://codereview.chromium.org/1870073005/diff/1/src/IceTimerTree.cpp#newcode231 src/IceTimerTree.cpp:231: void dumpHelper(Ostream &Str, const DumpMapType &Map, double TotalTime, On ...
4 years, 8 months ago (2016-04-08 21:09:48 UTC) #6
Karl
Otherwise, LGTM. https://codereview.chromium.org/1870073005/diff/20001/src/IceTimerTree.cpp File src/IceTimerTree.cpp (right): https://codereview.chromium.org/1870073005/diff/20001/src/IceTimerTree.cpp#newcode232 src/IceTimerTree.cpp:232: bool AddPercents) { This seems a bit ...
4 years, 8 months ago (2016-04-08 21:15:25 UTC) #7
Jim Stichnoth
https://codereview.chromium.org/1870073005/diff/20001/src/IceTimerTree.cpp File src/IceTimerTree.cpp (right): https://codereview.chromium.org/1870073005/diff/20001/src/IceTimerTree.cpp#newcode232 src/IceTimerTree.cpp:232: bool AddPercents) { On 2016/04/08 21:15:25, Karl wrote: > ...
4 years, 8 months ago (2016-04-09 00:09:22 UTC) #8
Jim Stichnoth
4 years, 8 months ago (2016-04-09 00:09:34 UTC) #10
Message was sent while issue was closed.
Committed patchset #3 (id:40001) manually as
9a23e4318c73c21c39b693c69c51da37ee3a4d14 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698