Skip to content
Snippets Groups Projects
Commit 6ede04bb authored by q3k's avatar q3k
Browse files

sim: time: implement ticks_ms

parent 782d22db
No related branches found
No related tags found
No related merge requests found
......@@ -2,3 +2,7 @@
def sleep_ms(ms):
import _time
_time.sleep(ms * 0.001)
def ticks_ms():
import _time
return int(_time.time() * 1000)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment