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

Issue 1521293002: SkTime updates (Closed)

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

Description

SkTime updates 1) Use steady_clock instead of high_resolution_clock. If we don't have a guarantee of monotonicity, it's pretty much useless for timing things. 2) Implement Mac/iOS with <chrono> too. This was waiting on C++11 library support. Both high_resolution_clock and steady_clock are (still) busted on MSVC 2013, so no change there. BUG=skia: Committed: https://skia.googlesource.com/skia/+/6a20871e5aeaa7e61f3348694bf436af16f824b9

Patch Set 1 #

Patch Set 2 : No MSVC. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -15 lines) Patch
M src/core/SkTime.cpp View 1 1 chunk +4 lines, -15 lines 0 comments Download

Messages

Total messages: 18 (9 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/1521293002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1521293002/20001
5 years ago (2015-12-13 15:24:27 UTC) #4
mtklein_C
I wrote this thinking that it'd fix some of those negative time problems you were ...
5 years ago (2015-12-14 14:18:03 UTC) #7
herb_g
They were on Denver in Release only. Some of the individual DM times were negative.
5 years ago (2015-12-14 15:15:29 UTC) #8
herb_g
lgtm
5 years ago (2015-12-14 15:18:12 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1521293002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1521293002/20001
5 years ago (2015-12-14 15:32:59 UTC) #11
commit-bot: I haz the power
Exceeded global retry quota
5 years ago (2015-12-14 16:02:35 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1521293002/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1521293002/20001
5 years ago (2015-12-14 16:38:29 UTC) #15
commit-bot: I haz the power
Committed patchset #2 (id:20001) as https://skia.googlesource.com/skia/+/6a20871e5aeaa7e61f3348694bf436af16f824b9
5 years ago (2015-12-14 16:39:16 UTC) #17
mtklein
5 years ago (2015-12-14 18:54:07 UTC) #18
Message was sent while issue was closed.
A revert of this CL (patchset #2 id:20001) has been created in
https://codereview.chromium.org/1529603002/ by mtklein@google.com.

The reason for reverting is: linux Canary builder has no std::steady_clock. 
Weird....

Powered by Google App Engine
This is Rietveld 408576698