Browse Source

fix for instrumenting on Windows

laytan 1 year ago
parent
commit
3f090ed523
1 changed files with 1 additions and 0 deletions
  1. 1 0
      core/prof/spall/spall_windows.odin

+ 1 - 0
core/prof/spall/spall_windows.odin

@@ -35,6 +35,7 @@ _write :: proc "contextless" (fd: os.Handle, data: []byte) -> (int, os.Errno) #n
 
 @(no_instrumentation)
 _tick_now :: proc "contextless" () -> (ns: i64) {
+	@(no_instrumentation)
 	mul_div_u64 :: #force_inline proc "contextless" (val, num, den: i64) -> i64 {
 		q := val / den
 		r := val % den