package ez_api

  1. Overview
  2. No Docs
Easy API library and tools

Install

Dune Dependency

Authors

Maintainers

Sources

2.1.0.tar.gz
md5=e1d03d141ef977fbd4521256c91431f1
sha512=51b0cc4e6afb0cd5ab55c0c40964946b79e0c2cc903b5d08c594292eec723a25e25463175d704c02fe559e2af5d95973514c248a603ad28ec0230c35ad2d6492

doc/ez_api.server_utils/EzAPIServerUtils/Timings/index.html

Module EzAPIServerUtils.TimingsSource

Sourceval enabled : bool ref
Sourceval enable : unit -> unit
Sourceval disable : unit -> unit
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.