package core_bench

  1. Overview
  2. Docs

A module internal to Core_bench. Please look at Bench.

Abstracts the representation, choice and scaling of units for each variable.

type t =
  1. | Words
  2. | Time
  3. | Gc
  4. | Cycles
  5. | Count
  6. | Percentage
val display_minimum : t -> float
module Magnitude : sig ... end
val is_displayed : show_all_values:bool -> t -> Core.Float.t -> bool
val is_displayed_opt : show_all_values:bool -> t -> Core.Float.t option -> bool
val to_string : show_all_values:bool -> t -> Magnitude.t -> Core.Float.t -> Textutils.Console.Ansi.attr list * string
val to_ci_string : show_all_values:bool -> t -> Magnitude.t -> (Core.Float.t * Core.Float.t) -> Textutils.Console.Ansi.attr list * string
val to_string_opt : show_all_values:bool -> t -> Magnitude.t -> Core.Float.t option -> Textutils.Console.Ansi.attr list * string
OCaml

Innovation. Community. Security.