arm64 has an invariant tsc too
This commit is contained in:
1 parent
1848e0df05
commit
76b00c046b
1 file changed
+2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user