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

Issue 1950173002: Now we're on MSVC 2015, try using std::chrono for timing again. (Closed)

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

Description

Now we're on MSVC 2015, try using std::chrono for timing again. 2015's std::chrono::high_resolution_clock should have a precision equal to our old custom code. Tested this locally on Windows 10 and Mac (the two affected platforms). Long term SkTime::GetNSecs() can probably be phased out for direct <chrono> use. BUG=skia: GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1950173002 Committed: https://skia.googlesource.com/skia/+/f2509381bdd9e712919418f7ebe831f974208154

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -35 lines) Patch
M src/core/SkTime.cpp View 2 chunks +6 lines, -35 lines 0 comments Download

Messages

Total messages: 18 (12 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/1950173002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1950173002/1
4 years, 7 months ago (2016-05-04 19:03:33 UTC) #3
mtklein_C
4 years, 7 months ago (2016-05-04 19:31:07 UTC) #10
mtklein_C
+reed
4 years, 7 months ago (2016-05-04 20:57:04 UTC) #13
reed1
lgtm
4 years, 7 months ago (2016-05-04 21:00:33 UTC) #14
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1950173002/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1950173002/1
4 years, 7 months ago (2016-05-04 21:01:24 UTC) #16
commit-bot: I haz the power
4 years, 7 months ago (2016-05-04 21:02:17 UTC) #18
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://skia.googlesource.com/skia/+/f2509381bdd9e712919418f7ebe831f974208154

Powered by Google App Engine
This is Rietveld 408576698