package bechamel

  1. Overview
  2. Docs

Module Bechamel.Measurement_rawSource

Sourcetype t

Type of samples.

Sourceval make : measures:float array -> labels:string array -> float -> t

make ~measures ~labels run is samples of one record of run runs. labels.(i) is associated to measures.(i).

Sourceval run : t -> float

run t is the number of runs of t.

Sourceval get_index : label:string -> t -> int

get_index ~label t is the index of the measure identified by label.

Sourceval get : label:string -> t -> float

get ~label t is the recorded measure label into t.

Sourceval pp : t Fmt.t

Pretty-printer of t.

Sourceval exists : label:string -> t -> bool

exists ~label t returns true if the measure label exists into t. Otherwise, it returns false.

OCaml

Innovation. Community. Security.