mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-06 15:48:51 +00:00
fix for instrumenting on Windows
This commit is contained in:
@@ -35,6 +35,7 @@ _write :: proc "contextless" (fd: os.Handle, data: []byte) -> (int, os.Errno) #n
|
|||||||
|
|
||||||
@(no_instrumentation)
|
@(no_instrumentation)
|
||||||
_tick_now :: proc "contextless" () -> (ns: i64) {
|
_tick_now :: proc "contextless" () -> (ns: i64) {
|
||||||
|
@(no_instrumentation)
|
||||||
mul_div_u64 :: #force_inline proc "contextless" (val, num, den: i64) -> i64 {
|
mul_div_u64 :: #force_inline proc "contextless" (val, num, den: i64) -> i64 {
|
||||||
q := val / den
|
q := val / den
|
||||||
r := val % den
|
r := val % den
|
||||||
|
|||||||
Reference in New Issue
Block a user