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

Issue 1422513003: SkTime::GetNSecs() (Closed)

Created:
5 years, 2 months ago by mtklein_C
Modified:
5 years, 2 months ago
Reviewers:
mtklein, caryclark, reed1
CC:
reviews_skia.org
Base URL:
https://skia.googlesource.com/skia.git@master
Target Ref:
refs/heads/master
Project:
skia
Visibility:
Public.

Description

SkTime::GetNSecs() - Move high-precision wall timers from tools/timer to SkTime. - Implement SkTime::GetMSecs() in terms of SkTime::GetNSecs(). - Delete unused tools/timer code. I have no idea what's going on there in src/animator. I don't intend to investigate. BUG=skia: Committed: https://skia.googlesource.com/skia/+/70084cbc16ee8162649f2601377feb6e49de0217 CQ_EXTRA_TRYBOTS=client.skia.compile:Build-Ubuntu-GCC-x86_64-Debug-CrOS_Link-Trybot Committed: https://skia.googlesource.com/skia/+/a1840d50e29fd95e4df2d1168fe54c34c2a5c30c Committed: https://skia.googlesource.com/skia/+/38a88e4c0c28a7be981aac7bb4a198ad95a62a63 Committed: https://skia.googlesource.com/skia/+/33eefcd58bffc35355382dd7b1b79a02b99f8c6c

Patch Set 1 #

Patch Set 2 : Delete dead code. #

Patch Set 3 : clean up gyp #

Patch Set 4 : double seems good #

Patch Set 5 : one less divide #

Patch Set 6 : multiply when possible #

Patch Set 7 : msvc #

Patch Set 8 : I have no patience for such silliness. #

Patch Set 9 : always query frequency once #

Patch Set 10 : lrt #

Patch Set 11 : use std::chrono #

Patch Set 12 : #else std::chrono #

Unified diffs Side-by-side diffs Delta from patch set Stats (+45 lines, -817 lines) Patch
M gyp/tools.gyp View 1 2 1 chunk +2 lines, -30 lines 0 comments Download
M include/core/SkTime.h View 1 2 3 4 5 6 1 chunk +2 lines, -1 line 0 comments Download
M src/animator/SkTime.cpp View 1 2 3 4 5 6 7 2 chunks +0 lines, -18 lines 0 comments Download
M src/core/SkTime.cpp View 1 2 3 4 5 6 7 8 9 10 11 2 chunks +36 lines, -0 lines 0 comments Download
M src/ports/SkTime_Unix.cpp View 1 chunk +0 lines, -7 lines 0 comments Download
M src/ports/SkTime_win.cpp View 1 chunk +0 lines, -11 lines 0 comments Download
D tools/timer/GpuTimer.h View 1 1 chunk +0 lines, -25 lines 0 comments Download
D tools/timer/GpuTimer.cpp View 1 1 chunk +0 lines, -77 lines 0 comments Download
D tools/timer/SysTimer_mach.h View 1 1 chunk +0 lines, -24 lines 0 comments Download
D tools/timer/SysTimer_mach.cpp View 1 1 chunk +0 lines, -66 lines 0 comments Download
D tools/timer/SysTimer_posix.h View 1 1 chunk +0 lines, -23 lines 0 comments Download
D tools/timer/SysTimer_posix.cpp View 1 1 chunk +0 lines, -51 lines 0 comments Download
D tools/timer/SysTimer_windows.h View 1 1 chunk +0 lines, -25 lines 0 comments Download
D tools/timer/SysTimer_windows.cpp View 1 1 chunk +0 lines, -53 lines 0 comments Download
M tools/timer/Timer.h View 1 2 3 4 5 1 chunk +5 lines, -55 lines 0 comments Download
M tools/timer/Timer.cpp View 1 1 chunk +0 lines, -46 lines 0 comments Download
D tools/timer/TimerData.h View 1 1 chunk +0 lines, -85 lines 0 comments Download
D tools/timer/TimerData.cpp View 1 1 chunk +0 lines, -220 lines 0 comments Download

Messages

Total messages: 59 (31 generated)
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1422513003/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1422513003/80001
5 years, 2 months ago (2015-10-22 18:06:06 UTC) #5
mtklein_C
5 years, 2 months ago (2015-10-22 18:06:22 UTC) #7
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86-Debug-Trybot/builds/3829)
5 years, 2 months ago (2015-10-22 18:08:04 UTC) #9
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1422513003/120001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1422513003/120001
5 years, 2 months ago (2015-10-22 18:10:43 UTC) #11
commit-bot: I haz the power
Dry run: Try jobs failed on following builders: Build-Win-MSVC-x86_64-Debug-Trybot on client.skia.compile (JOB_FAILED, http://build.chromium.org/p/client.skia.compile/builders/Build-Win-MSVC-x86_64-Debug-Trybot/builds/3885)
5 years, 2 months ago (2015-10-22 18:15:02 UTC) #13
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1422513003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1422513003/140001
5 years, 2 months ago (2015-10-22 18:19:16 UTC) #16
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-22 18:30:07 UTC) #18
caryclark
lgtm Wow! What a great cleanup. Thank you for doing this. LGTM
5 years, 2 months ago (2015-10-22 18:43:49 UTC) #20
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1422513003/140001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1422513003/140001
5 years, 2 months ago (2015-10-22 18:44:03 UTC) #21
commit-bot: I haz the power
Try jobs failed on following builders: skia_presubmit-Trybot on client.skia.fyi (JOB_FAILED, http://build.chromium.org/p/client.skia.fyi/builders/skia_presubmit-Trybot/builds/3392)
5 years, 2 months ago (2015-10-22 18:45:19 UTC) #23
mtklein
+Reed for include/ Do we consider SkTime public API?
5 years, 2 months ago (2015-10-22 18:46:18 UTC) #25
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1422513003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1422513003/160001
5 years, 2 months ago (2015-10-22 19:32:37 UTC) #27
reed1
lgtm
5 years, 2 months ago (2015-10-22 19:37:55 UTC) #28
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years, 2 months ago (2015-10-22 19:43:23 UTC) #30
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1422513003/160001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1422513003/160001
5 years, 2 months ago (2015-10-22 19:44:51 UTC) #33
commit-bot: I haz the power
Committed patchset #9 (id:160001) as https://skia.googlesource.com/skia/+/70084cbc16ee8162649f2601377feb6e49de0217
5 years, 2 months ago (2015-10-22 19:47:08 UTC) #34
caryclark
A revert of this CL (patchset #9 id:160001) has been created in https://codereview.chromium.org/1420923003/ by caryclark@google.com. ...
5 years, 2 months ago (2015-10-22 20:02:43 UTC) #35
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1422513003/180001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1422513003/180001
5 years, 2 months ago (2015-10-22 20:23:05 UTC) #39
commit-bot: I haz the power
Committed patchset #10 (id:180001) as https://skia.googlesource.com/skia/+/a1840d50e29fd95e4df2d1168fe54c34c2a5c30c
5 years, 2 months ago (2015-10-22 20:33:25 UTC) #40
reed1
Is this breaking the DEPS roll? FAILED: ../../third_party/llvm-build/Release+Asserts/bin/clang++ -shared -Wl,--fatal-warnings -fPIC -Wl,-z,noexecstack -Wl,-z,now -Wl,-z,relro -Wl,-z,defs ...
5 years, 2 months ago (2015-10-22 23:22:04 UTC) #41
mtklein
A revert of this CL (patchset #10 id:180001) has been created in https://codereview.chromium.org/1417753003/ by mtklein@google.com. ...
5 years, 2 months ago (2015-10-23 00:48:54 UTC) #42
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1422513003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1422513003/200001
5 years, 2 months ago (2015-10-23 13:11:52 UTC) #45
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1422513003/200001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1422513003/200001
5 years, 2 months ago (2015-10-23 13:23:23 UTC) #49
commit-bot: I haz the power
Committed patchset #11 (id:200001) as https://skia.googlesource.com/skia/+/38a88e4c0c28a7be981aac7bb4a198ad95a62a63
5 years, 2 months ago (2015-10-23 13:24:14 UTC) #50
mtklein
A revert of this CL (patchset #11 id:200001) has been created in https://codereview.chromium.org/1422623003/ by mtklein@google.com. ...
5 years, 2 months ago (2015-10-23 13:40:06 UTC) #51
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1422513003/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1422513003/220001
5 years, 2 months ago (2015-10-23 13:45:29 UTC) #54
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1422513003/220001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1422513003/220001
5 years, 2 months ago (2015-10-23 14:00:51 UTC) #58
commit-bot: I haz the power
5 years, 2 months ago (2015-10-23 14:02:09 UTC) #59
Message was sent while issue was closed.
Committed patchset #12 (id:220001) as
https://skia.googlesource.com/skia/+/33eefcd58bffc35355382dd7b1b79a02b99f8c6c

Powered by Google App Engine
This is Rietveld 408576698