luv
Luv.Time
luv.c
luv.c_function_descriptions
luv.c_type_descriptions
type t = {
tv_sec : int64;
tv_usec : int32;
}
Binds uv_timeval64_t.
uv_timeval64_t
val gettimeofday : unit -> (t, Error.t) Result.result
Binds uv_gettimeofday. See gettimeofday(3p).
uv_gettimeofday
gettimeofday(3p)
val hrtime : unit -> Unsigned.uint64
Samples the high-resolution timer.
Binds uv_hrtime. See clock_gettime(3p).
uv_hrtime
clock_gettime(3p)
val sleep : int -> unit
Suspends the calling thread for at least the given number of milliseconds.
Binds uv_sleep. See sleep(3p).
uv_sleep
sleep(3p)