sig
type clockid = int
external getres : Oclock.clockid -> int64 = "oclock_getres"
external gettime : Oclock.clockid -> int64 = "oclock_gettime"
external settime : Oclock.clockid -> int64 -> unit = "oclock_settime"
val realtime : Oclock.clockid
val realtime_coarse : Oclock.clockid
val monotonic : Oclock.clockid
val monotonic_coarse : Oclock.clockid
val monotonic_raw : Oclock.clockid
val boottime : Oclock.clockid
val process_cputime : Oclock.clockid option
val thread_cputime : Oclock.clockid option
external getcpuclockid : int -> Oclock.clockid = "oclock_getcpuclockid"
external pthread_getcpuclockid : int -> Oclock.clockid
= "oclock_pthread_getcpuclockid"
end