| author | |
| committer | |
| log | cc751c01f13658280bc48905261f316b9b58b718 |
| tree | 824ed251d3dc5741d33de319eb3d4b45d72c2553 |
| parent | ef55dcae675dd2048e5e404eb8bb6833d153f653 |
1 files changed, 3 insertions(+), 0 deletions(-)
lib/std/Io/Threaded.zig+3| ... | ... | @@ -5006,6 +5006,9 @@ fn clockToPosix(clock: Io.Clock) posix.clockid_t { |
| 5006 | 5006 | }, |
| 5007 | 5007 | .boot => switch (native_os) { |
| 5008 | 5008 | .macos, .ios, .watchos, .tvos => posix.CLOCK.MONOTONIC_RAW, |
| 5009 | // On freebsd derivatives, use MONOTONIC_FAST as currently there's | |
| 5010 | // no precision tradeoff. | |
| 5011 | .freebsd, .dragonfly => posix.CLOCK.MONOTONIC_FAST, | |
| 5009 | 5012 | else => posix.CLOCK.BOOTTIME, |
| 5010 | 5013 | }, |
| 5011 | 5014 | .cpu_process => posix.CLOCK.PROCESS_CPUTIME_ID, |