Up

Module Profiler_units

Units for the measurements made by Core_profiler, used to get better output formatting. This has no performance implications.

Signature

type t =
| Words
| Seconds
| Nanoseconds
| Int
val compare : t -> t -> int
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
val to_string : t -> string
val of_string : string -> t
val format_int : t -> int -> string