package posix-time
-
posix-time
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
POSIX timespec time specifier with seconds and nanoseconds. A normalized value of type t
must have a value of tv_nsec
between 0
and 1000000000
(exclusive).
val create : int64 -> int64 -> t
create sec nsec
creates a new normalized timespec with sec
seconds and nsec
nanoseconds.
val to_string : t -> string
to_string t
creates a string of the form "sec.nsec".