package ez_api

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module EzAPIServerUtils.TimingsSource

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

Innovation. Community. Security.