1. 24 Jan, 2020 1 commit
  2. 21 Jan, 2020 1 commit
  3. 24 Dec, 2019 1 commit
  4. 20 Dec, 2019 1 commit
  5. 19 Dec, 2019 1 commit
  6. 16 Dec, 2019 1 commit
  7. 13 Dec, 2019 1 commit
  8. 12 Dec, 2019 2 commits
  9. 09 Dec, 2019 4 commits
  10. 06 Dec, 2019 2 commits
  11. 28 Nov, 2019 1 commit
    • Chip Davis's avatar
      ntdll: Fix tick count calculation on Mac. · 289d456d
      Chip Davis authored
      Inspired by a patch by Andrew Eikum.
      
      macOS's mach_absolute_time() stops counting when the computer goes to
      sleep/suspend/hibernate/etc. However, Windows's GetTickCount() does not
      stop counting. mach_continuous_time() matches Windows's behavior.
      
      BSD's CLOCK_MONOTONIC already counts asleep time.
      
      Unfortunately, there is no clock source on Linux which does exactly what
      we want. CLOCK_MONOTONIC_RAW is unaffected by NTP adjustment, but like
      mach_absolute_time() doesn't keep ticking when the computer is asleep.
      CLOCK_BOOTTIME does keep ticking, but it is affected by NTP adjustments.
      CLOCK_MONOTONIC has both problems. What's needed is a
      CLOCK_BOOTTIME_RAW, which would not be slewed by adjtimex(2) and would
      count time spent asleep.
      
      To avoid issues with skew and performance, this patch falls back to
      mach_absolute_time() on macOS if mach_continuous_time() is unavailable.
      Note that mach_continuous_time() was introduced in macOS 10.12, meaning
      that if the minimum version required is less than that, it will be
      linked weakly. Therefore we must check that it is nonnull before
      attempting to call it.
      Signed-off-by: 's avatarChip Davis <cdavis@codeweavers.com>
      Signed-off-by: 's avatarHuw Davies <huw@codeweavers.com>
      Signed-off-by: 's avatarAlexandre Julliard <julliard@winehq.org>
      289d456d
  12. 22 Nov, 2019 2 commits
  13. 19 Nov, 2019 2 commits
  14. 13 Nov, 2019 1 commit
  15. 12 Nov, 2019 1 commit
  16. 08 Nov, 2019 2 commits
  17. 07 Nov, 2019 1 commit
  18. 28 Oct, 2019 1 commit
  19. 23 Sep, 2019 1 commit
  20. 18 Sep, 2019 1 commit
  21. 16 Sep, 2019 1 commit
  22. 13 Sep, 2019 2 commits
  23. 12 Sep, 2019 1 commit
  24. 03 Sep, 2019 1 commit
  25. 02 Sep, 2019 2 commits
  26. 30 Aug, 2019 2 commits
  27. 29 Aug, 2019 2 commits
  28. 26 Aug, 2019 1 commit