[Heimdal-source-changes] [heimdal/heimdal] fefade: roken: gettimeofday using GetSystemTimePreciseAsFi...

GitHub noreply at github.com
Ons Sep 19 05:46:09 CEST 2018


  Branch: refs/heads/jaltman/roken_gettimeofday
  Home:   https://github.com/heimdal/heimdal
  Commit: fefade0f766aab97644823200da51680eb76fd68
      https://github.com/heimdal/heimdal/commit/fefade0f766aab97644823200da51680eb76fd68
  Author: Jeffrey Altman <jaltman at secure-endpoints.com>
  Date:   2018-09-18 (Tue, 18 Sep 2018)

  Changed paths:
    M lib/roken/gettimeofday.c

  Log Message:
  -----------
  roken: gettimeofday using GetSystemTimePreciseAsFileTime

GetSystemTimeAsFileTime() has 16ms precision.

GetSystemTimePreciseAsFileTime() has <1ns precision but is only available
on Windows 8 or later.

This change dynamically loads GetSystemTimePreciseAsFileTime() if it is
available.

Change-Id: Ib9c616c01948384e6b256ac9b6023f1e39673613



      **NOTE:** This service has been marked for deprecation: https://developer.github.com/changes/2018-04-25-github-services-deprecation/

      Functionality will be removed from GitHub.com on January 31st, 2019.


More information about the Heimdal-source-changes mailing list