module Clock: sig .. end
type t
val get : Thread.t -> t
get tid
Raises Unix_error on Unix-errors.
Returns the CPU-clock associated with the thread having
thread ID tid.
val get_time : t -> float
get_time clock
Raises Unix_error on Unix-errors.
Returns time in seconds associated with clock.
val set_time : t -> float -> unit
set_time clock time sets clock to the time in seconds.
Raises Unix_error on Unix-errors.
val get_resolution : t -> float
get_resolution clock
Raises Unix_error on Unix-errors.
Returns the resolution in seconds of
clock.