Module EzAPIServerUtils.Timings

type period = {
name : string;
mutable prev : int;
nb : int array;
dt : float array;
}
type t = {
first : float;
mutable last : float;
minutes : period;
hours : period;
days : period;
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 = {
mutable timings_ok : t array;
mutable timings_fail : t array;
}
val timings : timings
val add_timing : int -> bool -> float -> float -> unit
val init : float -> int -> unit