package core_bench

  1. Overview
  2. Docs

A module internal to Core_bench. Please look at Bench.

Contains the measurements of one run of a benchmark.

type t = {
  1. mutable runs : int;
  2. mutable cycles : int;
  3. mutable nanos : int;
  4. mutable compactions : int;
  5. mutable minor_allocated : int;
  6. mutable major_allocated : int;
  7. mutable promoted : int;
  8. mutable major_collections : int;
  9. mutable minor_collections : int;
}
val t_of_sexp : Ppx_sexp_conv_lib.Sexp.t -> t
val sexp_of_t : t -> Ppx_sexp_conv_lib.Sexp.t
val minor_collections : t -> int
val set_minor_collections : t -> int -> unit
val major_collections : t -> int
val set_major_collections : t -> int -> unit
val promoted : t -> int
val set_promoted : t -> int -> unit
val major_allocated : t -> int
val set_major_allocated : t -> int -> unit
val minor_allocated : t -> int
val set_minor_allocated : t -> int -> unit
val compactions : t -> int
val set_compactions : t -> int -> unit
val nanos : t -> int
val set_nanos : t -> int -> unit
val cycles : t -> int
val set_cycles : t -> int -> unit
val runs : t -> int
val set_runs : t -> int -> unit
module Fields : sig ... end
val create : unit -> t
val field_names_to_string : unit -> string
val field_values_to_string : t -> string
val of_field_values_string : Core.String.t -> t
val max : 'a Core.Array.t -> len:int -> field:('a -> Core.Int.t) -> Core.Int.t
val floatify : (t -> int) -> t -> Core.Float.t
val accessor : [< `Compactions | `Cycles | `Major_allocated | `Major_collections | `Minor_allocated | `Minor_collections | `Nanos | `One | `Promoted | `Runs ] -> t -> Core.Float.t
OCaml

Innovation. Community. Security.