ON THIS PAGE
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.