After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 783340 - win32: port monotonic times to use QPC
win32: port monotonic times to use QPC
Status: RESOLVED FIXED
Product: glib
Classification: Platform
Component: win32
unspecified
Other All
: Normal normal
: ---
Assigned To: gtk-win32 maintainers
gtk-win32 maintainers
Depends on:
Blocks:
 
 
Reported: 2017-06-02 07:03 UTC by Ignacio Casal Quinteiro (nacho)
Modified: 2017-06-27 14:17 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
win32: port monotonic times to use QPC (6.49 KB, patch)
2017-06-02 07:03 UTC, Ignacio Casal Quinteiro (nacho)
committed Details | Review

Description Ignacio Casal Quinteiro (nacho) 2017-06-02 07:03:28 UTC
This provides a high precision monotonic time and
the concerns that we had are no longer true
on new versions of Windows (7+).
Comment 1 Ignacio Casal Quinteiro (nacho) 2017-06-02 07:03:32 UTC
Created attachment 353048 [details] [review]
win32: port monotonic times to use QPC
Comment 2 Ignacio Casal Quinteiro (nacho) 2017-06-02 07:05:28 UTC
We have been using this patch in Wing for a while and we are now at the point where we are quite confident to push this to glib.
Comment 3 LRN 2017-06-02 12:13:00 UTC
The patch looks OK. A nitpicking pass from fanc, then push? :)
Comment 4 Fan, Chun-wei 2017-06-02 16:05:28 UTC
Hi,

Seems reasonable to me too.

With blessings, and cheers!
Comment 5 Ignacio Casal Quinteiro (nacho) 2017-06-02 16:18:27 UTC
Pushed, thanks for the reviews.