[D-runtime] [D-Programming-Language/druntime] a55719: OSX/Darwin - Fix ticksPerSecond

GitHub via D-runtime d-runtime at puremagic.com
Mon Nov 16 10:20:25 PST 2015


  Branch: refs/heads/stable
  Home:   https://github.com/D-Programming-Language/druntime
  Commit: a55719115c109a88789747f0ad2581e0100224cc
      https://github.com/D-Programming-Language/druntime/commit/a55719115c109a88789747f0ad2581e0100224cc
  Author: Dan Olson <danole at comcast.net>
  Date:   2015-11-16 (Mon, 16 Nov 2015)

  Changed paths:
    M src/core/time.d

  Log Message:
  -----------
  OSX/Darwin - Fix ticksPerSecond

Flip denom and numer.  It works the wrong way on Intel MacOS only
because denom and numer are both 1, but not so on other Darwin family OS
like iOS, and tvOS.


  Commit: fdad9f502dc3a5cac0bac0cfa7d55fc4b7c273b5
      https://github.com/D-Programming-Language/druntime/commit/fdad9f502dc3a5cac0bac0cfa7d55fc4b7c273b5
  Author: Steven Schveighoffer <schveiguy at yahoo.com>
  Date:   2015-11-16 (Mon, 16 Nov 2015)

  Changed paths:
    M src/core/time.d

  Log Message:
  -----------
  Merge pull request #1432 from smolt/ticksPerSecOSXFixStable

Fix issue 15334 - OS X core.time ticksPerSecond calculation is incorrect


Compare: https://github.com/D-Programming-Language/druntime/compare/82715d0589d8...fdad9f502dc3


More information about the D-runtime mailing list