kaxori
09/14/2023, 10:09 AMhttps://cdn.discordapp.com/attachments/1151822098700972034/1151822099397234769/2023-09-14_12h06_35.png▾
kaxori
09/14/2023, 10:18 AMerikcorry
09/14/2023, 10:38 AMerikcorry
09/14/2023, 10:41 AMmain:
start := Time.monotonic-us
sleep --ms=1234
end := Time.monotonic-us
print
Duration --us=(end - start)
If you don't want the time affected by the clock then you need to use monotonic-us
like this.erikcorry
09/14/2023, 10:42 AMerikcorry
09/14/2023, 10:43 AMmonotonic_us
with an underscore.)kaxori
09/14/2023, 10:43 AMerikcorry
09/14/2023, 10:43 AM