浏览代码

fix for instrumenting on Windows

laytan 1 年之前
父节点
当前提交
3f090ed523
共有 1 个文件被更改,包括 1 次插入0 次删除
  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