mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-05 15:18:49 +00:00
adjust func names
This commit is contained in:
@@ -5,7 +5,7 @@ package time
|
||||
import "core:intrinsics"
|
||||
import "core:sys/unix"
|
||||
|
||||
_get_tsc_frequency :: proc "contextless" () -> (u64, bool) {
|
||||
_x86_get_tsc_frequency :: proc "contextless" () -> (u64, bool) {
|
||||
perf_attr := unix.Perf_Event_Attr{}
|
||||
perf_attr.type = u32(unix.Perf_Type_Id.Hardware)
|
||||
perf_attr.config = u64(unix.Perf_Hardware_Id.Instructions)
|
||||
|
||||
Reference in New Issue
Block a user