package dolmen

  1. Overview
  2. Docs
On This Page
  1. Simple timer
Legend:
Library
Module
Module type
Parameter
Class
Class type

Simple timer

type t

The type of a timer.

val start : unit -> t

Start a timer.

val stop : t -> float

Stop a timer and return the total time of the timer.