package dose3

  1. Overview
  2. Docs
Dose library (part of Mancoosi tools)

Install

Dune Dependency

Authors

Maintainers

Sources

dose3-7.0.0.tar.gz
md5=bc99cbcea8fca29dca3ebbee54be45e1
sha512=98dc4bd28e9f4aa8384be71b31783ae1afac577ea587118b8457b554ffe302c98e83d0098971e6b81803ee5c4f2befe3a98ef196d6b0da8feb4121e982ad5c2f

doc/dose3.common/Dose_common/Util/Timer/index.html

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.