copy-paste typo fix
This commit is contained in:
1 parent
1a9b128bfc
commit
b5629aeed9
1 file changed
+1
-1
@@ -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