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

Issue 344213003: Move BenchTimer to tools as Timer (Closed)

Created:
6 years, 6 months ago by mtklein_C
Modified:
6 years, 6 months ago
Reviewers:
tfarina, mtklein
CC:
reviews_skia.org, scroggo
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

Move BenchTimer to tools as Timer This breaks a bunch of circular dependencies between tools and gm and bench. BUG=skia: Committed: https://skia.googlesource.com/skia/+/4ed75287aed6371c6e4a41ffcc78c8a49c9810ed CQ_EXTRA_TRYBOTS=tryserver.skia:Build-Mac10.7-Clang-Arm7-Debug-iOS-Trybot,Test-Ubuntu12-ShuttleA-GTX660-x86-Debug-Trybot Committed: https://skia.googlesource.com/skia/+/9ac68ee2594f28dfc1bd16a4bf004b1a4f6f228d

Patch Set 1 #

Patch Set 2 : tools in tools #

Patch Set 3 : alpha #

Total comments: 13

Patch Set 4 : thiago #

Total comments: 2

Patch Set 5 : split out skia_launcher #

Patch Set 6 : fixes #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+337 lines, -1261 lines) Patch
D bench/BenchGpuTimer_gl.h View 1 chunk +0 lines, -26 lines 0 comments Download
D bench/BenchGpuTimer_gl.cpp View 1 chunk +0 lines, -74 lines 0 comments Download
D bench/BenchSysTimer_c.h View 1 chunk +0 lines, -26 lines 0 comments Download
D bench/BenchSysTimer_c.cpp View 1 chunk +0 lines, -27 lines 0 comments Download
D bench/BenchSysTimer_mach.h View 1 chunk +0 lines, -26 lines 0 comments Download
D bench/BenchSysTimer_mach.cpp View 1 chunk +0 lines, -76 lines 0 comments Download
D bench/BenchSysTimer_posix.h View 1 chunk +0 lines, -25 lines 0 comments Download
D bench/BenchSysTimer_posix.cpp View 1 chunk +0 lines, -57 lines 0 comments Download
D bench/BenchSysTimer_windows.h View 1 chunk +0 lines, -26 lines 0 comments Download
D bench/BenchSysTimer_windows.cpp View 1 chunk +0 lines, -64 lines 0 comments Download
D bench/BenchTimer.h View 1 chunk +0 lines, -67 lines 0 comments Download
D bench/BenchTimer.cpp View 1 chunk +0 lines, -94 lines 0 comments Download
D bench/TimerData.h View 1 chunk +0 lines, -86 lines 0 comments Download
D bench/TimerData.cpp View 1 chunk +0 lines, -224 lines 0 comments Download
M bench/benchmain.cpp View 1 2 3 chunks +3 lines, -3 lines 0 comments Download
M debugger/QT/SkDebuggerGUI.cpp View 2 chunks +5 lines, -5 lines 0 comments Download
M gyp/SampleApp.gyp View 1 1 chunk +1 line, -1 line 0 comments Download
M gyp/apptype_console.gypi View 1 2 3 4 1 chunk +1 line, -1 line 0 comments Download
M gyp/bench.gyp View 1 2 chunks +3 lines, -61 lines 0 comments Download
D gyp/crash_handler.gyp View 1 1 chunk +0 lines, -18 lines 0 comments Download
M gyp/debugger.gyp View 1 2 3 1 chunk +1 line, -1 line 0 comments Download
M gyp/dm.gyp View 1 1 chunk +1 line, -1 line 0 comments Download
M gyp/gm.gyp View 1 2 chunks +3 lines, -24 lines 0 comments Download
D gyp/resources.gyp View 1 1 chunk +0 lines, -25 lines 0 comments Download
A gyp/skia_launcher.gyp View 1 2 3 4 1 chunk +3 lines, -0 lines 0 comments Download
M gyp/tests.gyp View 1 1 chunk +1 line, -1 line 0 comments Download
M gyp/tests.gypi View 1 1 chunk +1 line, -1 line 0 comments Download
M gyp/tools.gyp View 1 2 3 8 chunks +87 lines, -20 lines 0 comments Download
M platform_tools/android/gyp/skia_android.gypi View 1 2 3 4 1 chunk +0 lines, -7 lines 0 comments Download
A platform_tools/android/gyp/skia_launcher.gypi View 1 2 3 4 1 chunk +7 lines, -0 lines 0 comments Download
M tools/DumpRecord.cpp View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M tools/PictureBenchmark.h View 1 2 2 chunks +2 lines, -2 lines 0 comments Download
M tools/PictureBenchmark.cpp View 4 chunks +8 lines, -8 lines 0 comments Download
M tools/bbh_shootout.cpp View 3 chunks +4 lines, -4 lines 0 comments Download
M tools/bench_pictures_main.cpp View 1 chunk +1 line, -1 line 0 comments Download
M tools/bench_playback.cpp View 1 2 2 chunks +5 lines, -6 lines 0 comments Download
M tools/bench_record.cpp View 1 2 4 chunks +11 lines, -11 lines 0 comments Download
M tools/skpdiff/skpdiff_util.cpp View 1 chunk +1 line, -1 line 0 comments Download
A + tools/timer/GpuTimer.h View 1 chunk +7 lines, -8 lines 0 comments Download
A + tools/timer/GpuTimer.cpp View 1 2 3 4 5 3 chunks +25 lines, -22 lines 3 comments Download
A + tools/timer/SysTimer_mach.h View 1 chunk +3 lines, -5 lines 0 comments Download
A + tools/timer/SysTimer_mach.cpp View 3 chunks +22 lines, -32 lines 0 comments Download
A + tools/timer/SysTimer_posix.h View 1 chunk +3 lines, -5 lines 0 comments Download
A + tools/timer/SysTimer_posix.cpp View 1 chunk +15 lines, -21 lines 0 comments Download
A + tools/timer/SysTimer_windows.h View 1 chunk +3 lines, -4 lines 0 comments Download
A + tools/timer/SysTimer_windows.cpp View 2 chunks +13 lines, -21 lines 0 comments Download
A + tools/timer/Timer.h View 1 2 3 4 5 3 chunks +28 lines, -22 lines 0 comments Download
A tools/timer/Timer.cpp View 1 2 3 4 5 1 chunk +53 lines, -0 lines 0 comments Download
A + tools/timer/TimerData.h View 3 chunks +4 lines, -5 lines 0 comments Download
A + tools/timer/TimerData.cpp View 2 chunks +10 lines, -14 lines 0 comments Download

Messages

Total messages: 24 (0 generated)
mtklein_C
I think this should let us put sk_tool_utils in tools.gyp.
6 years, 6 months ago (2014-06-20 15:12:48 UTC) #1
tfarina
I loved it. Thanks Mike! https://codereview.chromium.org/344213003/diff/40001/gyp/debugger.gyp File gyp/debugger.gyp (right): https://codereview.chromium.org/344213003/diff/40001/gyp/debugger.gyp#newcode99 gyp/debugger.gyp:99: 'tools.gyp:timer', could you sort? ...
6 years, 6 months ago (2014-06-20 16:20:37 UTC) #2
tfarina
https://codereview.chromium.org/344213003/diff/40001/gyp/tools.gyp File gyp/tools.gyp (right): https://codereview.chromium.org/344213003/diff/40001/gyp/tools.gyp#newcode104 gyp/tools.gyp:104: 'dependencies': [ indent one more space. https://codereview.chromium.org/344213003/diff/40001/gyp/tools.gyp#newcode105 gyp/tools.gyp:105: 'skia_lib.gyp:skia_lib', ...
6 years, 6 months ago (2014-06-20 16:24:40 UTC) #3
mtklein
PTAL? https://codereview.chromium.org/344213003/diff/40001/gyp/debugger.gyp File gyp/debugger.gyp (right): https://codereview.chromium.org/344213003/diff/40001/gyp/debugger.gyp#newcode99 gyp/debugger.gyp:99: 'tools.gyp:timer', On 2014/06/20 16:20:37, tfarina wrote: > could ...
6 years, 6 months ago (2014-06-20 16:33:27 UTC) #4
tfarina
lgtm https://codereview.chromium.org/344213003/diff/60001/gyp/tools.gyp File gyp/tools.gyp (right): https://codereview.chromium.org/344213003/diff/60001/gyp/tools.gyp#newcode81 gyp/tools.gyp:81: 'sources': [ '../tools/Resources.cpp' ], did you omit Resources.h ...
6 years, 6 months ago (2014-06-20 16:41:22 UTC) #5
mtklein
lgtm https://codereview.chromium.org/344213003/diff/60001/gyp/tools.gyp File gyp/tools.gyp (right): https://codereview.chromium.org/344213003/diff/60001/gyp/tools.gyp#newcode81 gyp/tools.gyp:81: 'sources': [ '../tools/Resources.cpp' ], On 2014/06/20 16:41:22, tfarina ...
6 years, 6 months ago (2014-06-20 16:43:22 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@chromium.org/344213003/60001
6 years, 6 months ago (2014-06-20 16:44:14 UTC) #7
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: Build-Ubuntu13.10-GCC4.8-Arm7-Debug-Android-Trybot on tryserver.skia ...
6 years, 6 months ago (2014-06-20 16:59:22 UTC) #8
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-20 17:01:31 UTC) #9
commit-bot: I haz the power
Try jobs failed on following builders: Build-Ubuntu13.10-GCC4.8-Arm7-Debug-Android-Trybot on tryserver.skia (http://108.170.220.76:10117/builders/Build-Ubuntu13.10-GCC4.8-Arm7-Debug-Android-Trybot/builds/215)
6 years, 6 months ago (2014-06-20 17:01:33 UTC) #10
mtklein
The CQ bit was checked by mtklein@google.com
6 years, 6 months ago (2014-06-20 17:16:12 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@chromium.org/344213003/80001
6 years, 6 months ago (2014-06-20 17:16:31 UTC) #12
commit-bot: I haz the power
Change committed as 4ed75287aed6371c6e4a41ffcc78c8a49c9810ed
6 years, 6 months ago (2014-06-20 17:31:55 UTC) #13
mtklein
A revert of this CL has been created in https://codereview.chromium.org/346753003/ by mtklein@google.com. The reason for ...
6 years, 6 months ago (2014-06-20 17:42:03 UTC) #14
mtklein
The CQ bit was checked by mtklein@google.com
6 years, 6 months ago (2014-06-20 17:56:15 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@chromium.org/344213003/100001
6 years, 6 months ago (2014-06-20 17:56:52 UTC) #16
mtklein
The CQ bit was unchecked by mtklein@google.com
6 years, 6 months ago (2014-06-20 17:58:53 UTC) #17
mtklein
The CQ bit was checked by mtklein@google.com
6 years, 6 months ago (2014-06-20 17:59:17 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/mtklein@chromium.org/344213003/100001
6 years, 6 months ago (2014-06-20 17:59:19 UTC) #19
tfarina
+Leon for platform_tools/android changes, fyi.
6 years, 6 months ago (2014-06-20 18:01:50 UTC) #20
tfarina
https://codereview.chromium.org/344213003/diff/100001/tools/timer/GpuTimer.cpp File tools/timer/GpuTimer.cpp (right): https://codereview.chromium.org/344213003/diff/100001/tools/timer/GpuTimer.cpp#newcode13 tools/timer/GpuTimer.cpp:13: if (fContext) { if glctx is NULL, aren't we ...
6 years, 6 months ago (2014-06-20 18:05:58 UTC) #21
tfarina
https://codereview.chromium.org/344213003/diff/100001/tools/timer/GpuTimer.cpp File tools/timer/GpuTimer.cpp (right): https://codereview.chromium.org/344213003/diff/100001/tools/timer/GpuTimer.cpp#newcode13 tools/timer/GpuTimer.cpp:13: if (fContext) { On 2014/06/20 18:05:58, tfarina wrote: > ...
6 years, 6 months ago (2014-06-20 18:06:41 UTC) #22
mtklein
https://codereview.chromium.org/344213003/diff/100001/tools/timer/GpuTimer.cpp File tools/timer/GpuTimer.cpp (right): https://codereview.chromium.org/344213003/diff/100001/tools/timer/GpuTimer.cpp#newcode13 tools/timer/GpuTimer.cpp:13: if (fContext) { On 2014/06/20 18:05:58, tfarina wrote: > ...
6 years, 6 months ago (2014-06-20 18:08:19 UTC) #23
commit-bot: I haz the power
6 years, 6 months ago (2014-06-20 18:29:25 UTC) #24
Message was sent while issue was closed.
Change committed as 9ac68ee2594f28dfc1bd16a4bf004b1a4f6f228d

Powered by Google App Engine
This is Rietveld 408576698