Skip to content
Snippets Groups Projects
time.rst 631 B

time

measure

Sometimes you just need to measure how long does a routine call take.

Note that you might specify other things to represent as time, such as "get the amount of free memory" value.

time_as_int

Syntactic sugar for int(time.time()).

time_ms

Syntactic sugar for int(time.time()*1000)

time_us

Syntactic sugar for int(time.time()*1000000)

sleep