mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
copy-paste typo fix
This commit is contained in:
@@ -6,7 +6,7 @@ import linux "core:sys/linux"
|
|||||||
|
|
||||||
_get_tsc_frequency :: proc "contextless" () -> (u64, bool) {
|
_get_tsc_frequency :: proc "contextless" () -> (u64, bool) {
|
||||||
if ODIN_ARCH == .arm64 {
|
if ODIN_ARCH == .arm64 {
|
||||||
freq = u64(intrinsics.arm64_read_cycle_counter_frequency())
|
frequency := u64(intrinsics.arm64_read_cycle_counter_frequency())
|
||||||
return frequency, true
|
return frequency, true
|
||||||
} else {
|
} else {
|
||||||
// Get the file descriptor for the perf mapping
|
// Get the file descriptor for the perf mapping
|
||||||
|
|||||||
Reference in New Issue
Block a user