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

Issue 1867473002: Subzero: Fix -timing-focus . (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: Fix -timing-focus . The problem is that the default timer is renamed to be the current function name, instead of "Total across all functions", but this causes an assertion failure during the final merge of thread-local timers into the global timers, because the names don't match. The solution is to temporarily rename the timer to be the function name, until the timer is dumped, and then restore it to its original value. BUG= none R=jpp@chromium.org Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=2b000fd83e3d78d0ecd5af1f3a529fb04f3e26ee

Patch Set 1 #

Total comments: 8

Patch Set 2 : Code review changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+35 lines, -14 lines) Patch
M src/IceCfg.cpp View 1 2 chunks +1 line, -3 lines 0 comments Download
M src/IceGlobalContext.h View 1 1 chunk +4 lines, -2 lines 0 comments Download
M src/IceGlobalContext.cpp View 1 3 chunks +30 lines, -9 lines 0 comments Download

Messages

Total messages: 7 (3 generated)
Jim Stichnoth
4 years, 8 months ago (2016-04-06 04:14:27 UTC) #3
John
lgtm https://codereview.chromium.org/1867473002/diff/1/src/IceCfg.cpp File src/IceCfg.cpp (right): https://codereview.chromium.org/1867473002/diff/1/src/IceCfg.cpp#newcode246 src/IceCfg.cpp:246: std::string OrigName = Auto, maybe? https://codereview.chromium.org/1867473002/diff/1/src/IceCfg.cpp#newcode250 src/IceCfg.cpp:250: getContext()->dumpLocalTimers(); ...
4 years, 8 months ago (2016-04-06 13:05:32 UTC) #4
Jim Stichnoth
https://codereview.chromium.org/1867473002/diff/1/src/IceCfg.cpp File src/IceCfg.cpp (right): https://codereview.chromium.org/1867473002/diff/1/src/IceCfg.cpp#newcode246 src/IceCfg.cpp:246: std::string OrigName = On 2016/04/06 13:05:32, John wrote: > ...
4 years, 8 months ago (2016-04-06 13:23:58 UTC) #5
Jim Stichnoth
4 years, 8 months ago (2016-04-06 13:37:20 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
2b000fd83e3d78d0ecd5af1f3a529fb04f3e26ee (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698