Up

Module Config

Signature

type t
val t_of_sexp : Sexplib.Sexp.t -> t
val sexp_of_t : t -> Sexplib.Sexp.t
include Invariant.S with type t := t
type t
val invariant : t Invariant_intf.inv
val create : ?level_bits:Level_bits.t -> alarm_precision:Time.Span.t -> unit -> t

create raises if alarm_precision <= 0.

val alarm_precision : t -> Time.Span.t

accessors

val level_bits : t -> Level_bits.t
val durations : t -> Time.Span.t list

durations t returns the durations of the levels in t