diff options
| author | Colin Davidson <colrdavidson@gmail.com> | 2025-07-07 14:36:31 -0700 |
|---|---|---|
| committer | Colin Davidson <colrdavidson@gmail.com> | 2025-07-07 14:36:31 -0700 |
| commit | 2dae1d8a4134226887a6e6a0aad0318e46e40cde (patch) | |
| tree | ffc5a31def1281d65e65ad0e092212767a5f5b20 /core/time | |
| parent | 389439ccb9e60014fa9d7dd26220da8b7b68f763 (diff) | |
fix tabbing
Diffstat (limited to 'core/time')
| -rw-r--r-- | core/time/tsc_darwin.odin | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/core/time/tsc_darwin.odin b/core/time/tsc_darwin.odin index 1210992a6..fdda5db77 100644 --- a/core/time/tsc_darwin.odin +++ b/core/time/tsc_darwin.odin @@ -4,13 +4,13 @@ package time import "core:sys/unix" _get_tsc_frequency :: proc "contextless" () -> (freq: u64, ok: bool) { - if ODIN_ARCH == .amd64 { - unix.sysctlbyname("machdep.tsc.frequency", &freq) or_return - } else if ODIN_ARCH == .arm64 { - unix.sysctlbyname("hw.tbfrequency", &freq) or_return - } else { - return - } + if ODIN_ARCH == .amd64 { + unix.sysctlbyname("machdep.tsc.frequency", &freq) or_return + } else if ODIN_ARCH == .arm64 { + unix.sysctlbyname("hw.tbfrequency", &freq) or_return + } else { + return + } ok = true return } |