diff options
| author | Colin Davidson <colrdavidson@gmail.com> | 2025-07-28 15:10:42 -0700 |
|---|---|---|
| committer | Colin Davidson <colrdavidson@gmail.com> | 2025-07-28 15:10:42 -0700 |
| commit | 1848e0df05a14679d49e5b87988fa6c7b609739b (patch) | |
| tree | 77df5918a4d42989a0a256cfeb8e16261ec0d5ef /base | |
| parent | b88f9194d0d25bd5121f45eb3696b0e1725dfd41 (diff) | |
use the correct frequency for the arm tsc timer
Diffstat (limited to 'base')
| -rw-r--r-- | base/intrinsics/intrinsics.odin | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/base/intrinsics/intrinsics.odin b/base/intrinsics/intrinsics.odin index 7e45abb8f..7057aba84 100644 --- a/base/intrinsics/intrinsics.odin +++ b/base/intrinsics/intrinsics.odin @@ -361,6 +361,9 @@ wasm_memory_atomic_notify32 :: proc(ptr: ^u32, waiters: u32) -> (waiters_woken_u x86_cpuid :: proc(ax, cx: u32) -> (eax, ebx, ecx, edx: u32) --- x86_xgetbv :: proc(cx: u32) -> (eax, edx: u32) --- +// Arm64 targets +arm64_read_cycle_counter_frequency :: proc() -> i64 --- + // Darwin targets only objc_object :: struct{} |