module Make:
Functor to create a new timer. If profiling
is false in the parameter
module, the timer will be inactive.
Parameters: |
|
val start : unit -> unit
Start (or restart) recording user time when this function is called.
val pause : unit -> unit
Pause the time, i.e. accumulates time elapsed since last (re-)start
val get : unit -> float
Returns the time in seconds accumulated in the timer.