package dose3

  1. Overview
  2. Docs
Legend:
Page
Library
Module
Module type
Parameter
Class
Class type
Source

Module Util.TimerSource

Timers are printed all at once by the dump function on stderr. * They can enabled or disabled (default)

Sourcetype t
Sourceval create : ?enabled:bool -> string -> t

create s create and register a new logger named s

Sourceval enable : label -> unit

enable "barname" : enable the progress bar with label "barname"

Sourceval pp_timer : Format.formatter -> t -> unit
Sourceval dump : Format.formatter -> unit -> unit

print all timers that are enabled

Sourceval start : t -> unit
Sourceval stop : t -> 'a -> 'a
Sourceval available : unit -> label list

return the labels of all available progress bar

OCaml

Innovation. Community. Security.