arm64 has an invariant tsc too

This commit is contained in:
Colin Davidson
2025-07-28 15:30:24 -07:00
parent 1848e0df05
commit 76b00c046b

View File

@@ -104,6 +104,8 @@ TSC at a fixed frequency, independent of ACPI state, and CPU frequency.
has_invariant_tsc :: proc "contextless" () -> bool {
when ODIN_ARCH == .amd64 {
return x86_has_invariant_tsc()
} else when ODIN_ARCH == .arm64 {
return true
}
return false