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

Issue 788713002: Subzero: Disable stats and timers under the MINIMAL build. (Closed)

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

Description

Subzero: Disable stats and timers under the MINIMAL build. Specifically, don't bother to collect "-timing" and "-szstats" information since they anyway don't get printed out under the MINIMAL build. This is done by using the ALLOW_DUMP flag to guard whether code and timing stats are collected. This ends up reducing the native translator size by about 3%. ALLOW_DUMP is used as the guard since it already guards the output of the collected data - no sense collecting the data if it can never be printed out. To minimize the number of ALLOW_DUMP tests, we push the tests into the timing/stats class methods. BUG= none R=jvoung@chromium.org, kschimpf@google.com Committed: https://gerrit.chromium.org/gerrit/gitweb?p=native_client/pnacl-subzero.git;a=commit;h=1c44d81950c17d9dac4d5d8e5b65085a753286a9

Patch Set 1 #

Total comments: 8

Patch Set 2 : Code review changes #

Unified diffs Side-by-side diffs Delta from patch set Stats (+58 lines, -22 lines) Patch
M src/IceCfg.cpp View 1 chunk +7 lines, -5 lines 0 comments Download
M src/IceConverter.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M src/IceGlobalContext.h View 2 chunks +22 lines, -6 lines 0 comments Download
M src/IceGlobalContext.cpp View 4 chunks +13 lines, -7 lines 0 comments Download
M src/IceTimerTree.cpp View 1 6 chunks +12 lines, -0 lines 0 comments Download
M src/PNaClTranslator.cpp View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 8 (1 generated)
Jim Stichnoth
6 years ago (2014-12-08 20:22:47 UTC) #2
Karl
When I first read the description of this CL, I did not understand what was ...
6 years ago (2014-12-08 21:08:01 UTC) #3
Jim Stichnoth
Description updated and hopefully clarified. https://codereview.chromium.org/788713002/diff/1/src/IceTimerTree.cpp File src/IceTimerTree.cpp (right): https://codereview.chromium.org/788713002/diff/1/src/IceTimerTree.cpp#newcode51 src/IceTimerTree.cpp:51: void TimerStack::push(TimerIdT ID) { ...
6 years ago (2014-12-08 21:33:57 UTC) #4
Karl
lgtm
6 years ago (2014-12-08 21:45:35 UTC) #5
jvoung (off chromium)
lgtm too -- new upload?
6 years ago (2014-12-08 22:23:05 UTC) #6
Jim Stichnoth
On 2014/12/08 22:23:05, jvoung wrote: > lgtm too -- new upload? Oops, done!
6 years ago (2014-12-08 22:31:11 UTC) #7
Jim Stichnoth
6 years ago (2014-12-08 22:57:58 UTC) #8
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
1c44d81950c17d9dac4d5d8e5b65085a753286a9 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698