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

Issue 10843038: Add native QPC to base::Time* conversion on Windows. (Closed)

Created:
8 years, 4 months ago by brianderson
Modified:
8 years, 4 months ago
CC:
chromium-reviews, erikwright (departed), brettw-cc_chromium.org
Visibility:
Public.

Description

Add native QPC to base::Time* conversion on Windows. BUG=137792 Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=149801

Patch Set 1 #

Patch Set 2 : replace floating point math with integer math #

Patch Set 3 : Replace all instances of ticks_per_millisecond #

Total comments: 5

Patch Set 4 : Avoid all precision / overflow issues! #

Patch Set 5 : Fix typo and remove unnecessary comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -9 lines) Patch
M base/time.h View 2 chunks +5 lines, -0 lines 0 comments Download
M base/time_win.cc View 1 2 3 4 6 chunks +34 lines, -9 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
brianderson
Split the base::Time changes of http://codereview.chromium.org/10825053/ into its own patch. Requesting lgtm carryover.
8 years, 4 months ago (2012-08-02 00:05:21 UTC) #1
brianderson
John came up with a good idea - replace the floating point logic with integer ...
8 years, 4 months ago (2012-08-02 01:45:42 UTC) #2
jbates
https://chromiumcodereview.appspot.com/10843038/diff/2003/base/time_win.cc File base/time_win.cc (right): https://chromiumcodereview.appspot.com/10843038/diff/2003/base/time_win.cc#newcode382 base/time_win.cc:382: : ticks_per_second_(0), what's the reason for changing to per_second? ...
8 years, 4 months ago (2012-08-02 03:10:34 UTC) #3
jar (doing other things)
https://chromiumcodereview.appspot.com/10843038/diff/2003/base/time_win.cc File base/time_win.cc (right): https://chromiumcodereview.appspot.com/10843038/diff/2003/base/time_win.cc#newcode376 base/time_win.cc:376: return qpc_value * Time::kMicrosecondsPerSecond / ticks_per_second_; nit: 2 character ...
8 years, 4 months ago (2012-08-02 03:13:20 UTC) #4
brianderson
Wish we had 128 bit integers. Do we have any kind of "big number" class ...
8 years, 4 months ago (2012-08-02 19:04:14 UTC) #5
brianderson
While John and I were trying to figure out how to get a 128 bit ...
8 years, 4 months ago (2012-08-02 20:15:08 UTC) #6
jbates
LGTM
8 years, 4 months ago (2012-08-02 20:18:14 UTC) #7
jar (doing other things)
LGTM As per our discussion... you guys should be alert to possible performance issues in ...
8 years, 4 months ago (2012-08-03 02:01:19 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/brianderson@chromium.org/10843038/2006
8 years, 4 months ago (2012-08-03 02:03:39 UTC) #9
commit-bot: I haz the power
8 years, 4 months ago (2012-08-03 07:22:53 UTC) #10
Change committed as 149801

Powered by Google App Engine
This is Rietveld 408576698