commit | 337b4f7971876b2d233f2401ef25a9f4b96ff217 | [log] [tgz] |
---|---|---|
author | Ben Hamilton <benhamilton@google.com> | Tue Dec 12 17:54:51 2023 |
committer | Crashpad LUCI CQ <crashpad-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Dec 12 18:08:21 2023 |
tree | 9f59ad99d7537305cd54df6e6abbdc58b1fabb0d | |
parent | 7049d966b5b24bcd4ce0a27312a366592019f1e8 [diff] |
[mac] mach_absolute_time() -> clock_gettime_nsec_np(CLOCK_UPTIME_RAW) 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: https://github.com/apple-oss-distributions/Libc/blob/c5a3293354e22262702a3add5b2dfc9bb0b93b85/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>
Crashpad is a crash-reporting system.
Crashpad’s source code is hosted in a Git repository at https://chromium.googlesource.com/crashpad/crashpad.