mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 22:16:13 +00:00
https://developer.apple.com/documentation/kernel/1462446-mach_absolute_time
> Prefer to use the equivalent clock_gettime_nsec_np(CLOCK_UPTIME_RAW) in nanoseconds.
The two are equivalent:
c5a3293354/gen/clock_gettime.c (L118)
Change-Id: I1c7a08d821d1840b74fc5eaa0e9ceca2ade5bbfc
Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/5085307
Commit-Queue: Ben Hamilton <benhamilton@google.com>
Reviewed-by: Justin Cohen <justincohen@chromium.org>
Reviewed-by: Mark Mentovai <mark@chromium.org>