package ez_api

  1. Overview
  2. Docs
type period = {
  1. name : string;
  2. mutable prev : int;
  3. nb : int array;
  4. dt : float array;
}
type t = {
  1. first : float;
  2. mutable last : float;
  3. minutes : period;
  4. hours : period;
  5. days : period;
  6. all : period;
}
val forward_period : period -> int -> int
val add_period : period -> int -> float -> unit
val add : t -> float -> float -> unit
val create_period : string -> int -> period
val copy_period : period -> int -> period
val create : float -> t
val get : float -> t -> t
type timings = {
  1. mutable timings_ok : t array;
  2. mutable timings_fail : t array;
}
val timings : timings
val add_timing : int -> bool -> float -> float -> unit
val init : float -> int -> unit
OCaml

Innovation. Community. Security.