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

Issue 620373004: Subzero: Add a few performance measurement tools. (Closed)

Created:
6 years, 2 months ago by Jim Stichnoth
Modified:
6 years, 2 months ago
CC:
native-client-reviews_googlegroups.com
Base URL:
https://chromium.googlesource.com/native_client/pnacl-subzero.git@master
Visibility:
Public.

Description

Subzero: Add a few performance measurement tools. --timing-funcs - Produces a sorted list of total time spent translating each function. --timing-focus=<F> - Turns on the --timing equivalent just for one function. Use '*' to do this for all functions, i.e. get complete timing breakdowns across all functions. --verbose-focus=<F> - Temporarily turns on --verbose=all for one function. BUG= none R=jvoung@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=8363a0668ce21ea0c2a61f78083b0536dbd89860

Patch Set 1 #

Total comments: 1

Patch Set 2 : Minor fixes #

Total comments: 8

Patch Set 3 : Code review changes; remove the static initializer pattern #

Total comments: 5

Patch Set 4 : Improve the use of containers #

Unified diffs Side-by-side diffs Delta from patch set Stats (+298 lines, -146 lines) Patch
M src/IceCfg.h View 2 chunks +3 lines, -0 lines 0 comments Download
M src/IceCfg.cpp View 1 2 10 chunks +30 lines, -39 lines 0 comments Download
M src/IceCfgNode.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M src/IceClFlags.h View 2 chunks +6 lines, -2 lines 0 comments Download
M src/IceConverter.cpp View 1 2 3 chunks +10 lines, -5 lines 0 comments Download
M src/IceDefs.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/IceGlobalContext.h View 1 2 3 5 chunks +18 lines, -5 lines 0 comments Download
M src/IceGlobalContext.cpp View 1 2 3 3 chunks +34 lines, -6 lines 0 comments Download
M src/IceInstX8632.cpp View 1 2 7 chunks +53 lines, -29 lines 0 comments Download
M src/IceOperand.cpp View 1 2 2 chunks +2 lines, -3 lines 0 comments Download
M src/IceRegAlloc.cpp View 1 2 2 chunks +2 lines, -5 lines 0 comments Download
M src/IceTargetLowering.cpp View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M src/IceTargetLoweringX8632.cpp View 1 2 3 chunks +3 lines, -8 lines 0 comments Download
M src/IceTimerTree.h View 1 2 3 2 chunks +16 lines, -5 lines 0 comments Download
M src/IceTimerTree.cpp View 1 2 3 2 chunks +33 lines, -29 lines 0 comments Download
A src/IceTimerTree.def View 1 2 1 chunk +49 lines, -0 lines 0 comments Download
M src/PNaClTranslator.cpp View 1 2 2 chunks +10 lines, -0 lines 0 comments Download
M src/llvm2ice.cpp View 1 2 4 chunks +25 lines, -6 lines 0 comments Download

Messages

Total messages: 9 (1 generated)
Jim Stichnoth
https://codereview.chromium.org/620373004/diff/1/src/IceCfgNode.cpp File src/IceCfgNode.cpp (left): https://codereview.chromium.org/620373004/diff/1/src/IceCfgNode.cpp#oldcode498 src/IceCfgNode.cpp:498: if (First) Whoops, there were 3 cases like this ...
6 years, 2 months ago (2014-10-04 00:15:24 UTC) #2
jvoung (off chromium)
https://codereview.chromium.org/620373004/diff/20001/src/IceCfg.cpp File src/IceCfg.cpp (right): https://codereview.chromium.org/620373004/diff/20001/src/IceCfg.cpp#newcode76 src/IceCfg.cpp:76: bool VerboseFocus = (getContext()->getFlags().VerboseFocusOn == getFunctionName()); 80 col ? ...
6 years, 2 months ago (2014-10-06 16:30:56 UTC) #3
Jim Stichnoth
Along with the code review suggestions, I got rid of the misguided non-POD static initialization ...
6 years, 2 months ago (2014-10-06 21:29:57 UTC) #4
jvoung (off chromium)
https://codereview.chromium.org/620373004/diff/40001/src/IceGlobalContext.cpp File src/IceGlobalContext.cpp (right): https://codereview.chromium.org/620373004/diff/40001/src/IceGlobalContext.cpp#newcode396 src/IceGlobalContext.cpp:396: return NumTimerStackIds++; Could this just use Timers.size() (or return ...
6 years, 2 months ago (2014-10-06 23:01:52 UTC) #5
jvoung (off chromium)
https://codereview.chromium.org/620373004/diff/40001/src/IceTimerTree.cpp File src/IceTimerTree.cpp (right): https://codereview.chromium.org/620373004/diff/40001/src/IceTimerTree.cpp#newcode41 src/IceTimerTree.cpp:41: for (auto I = IDs.rbegin(), E = IDs.rend(); I ...
6 years, 2 months ago (2014-10-06 23:02:36 UTC) #6
Jim Stichnoth
https://codereview.chromium.org/620373004/diff/40001/src/IceGlobalContext.cpp File src/IceGlobalContext.cpp (right): https://codereview.chromium.org/620373004/diff/40001/src/IceGlobalContext.cpp#newcode396 src/IceGlobalContext.cpp:396: return NumTimerStackIds++; On 2014/10/06 23:01:52, jvoung wrote: > Could ...
6 years, 2 months ago (2014-10-06 23:54:39 UTC) #7
jvoung (off chromium)
lgtm
6 years, 2 months ago (2014-10-07 15:17:18 UTC) #8
Jim Stichnoth
6 years, 2 months ago (2014-10-07 17:02:46 UTC) #9
Message was sent while issue was closed.
Committed patchset #4 (id:60001) manually as
8363a0668ce21ea0c2a61f78083b0536dbd89860 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698