You can search for identifiers within the package.
in-package search v0.2.0
metrics
Metrics.Graph
type t = graph
The type for graphs.
val title : t -> string option
title t is t's title.
title t
t
val ylabel : t -> string option
title t is t's Y label.
val yunit : t -> string option
unit t is t's Y unit.
unit t
val id : t -> int
id t is t's unit.
id t
val v : ?title:string -> ?ylabel:string -> ?yunit:string -> unit -> t
v () is a new graph.
v ()
val list : unit -> t list
list () is the list of graphs.
list ()
val fields : t -> (Src.t * field) list
fields t is the list of t's fields. Field names are unique for a given source.
fields t
val add_field : t -> Src.t -> field -> unit
add_field t src f adds the field f, generated by the source src, to the graph t.
add_field t src f
f
src
val remove_field : t -> Src.t -> string -> unit
remove_field t src f removes the field named f, generated from the source src, out of the graph t.
remove_field t src f
val enable : t -> unit
val disable : t -> unit
val is_active : t -> bool