Type of a clock
Module OgamlUtils.Clock
Simple clocks and countersSmall utility to make clocks and counters (ex. FPS counter)
Creates a clock
Restarts a clock (sets the time origin and resets the tick counter to 0)
Increments the tick counter of a clock
Returns the elapsed time in seconds
Returns the number of ticks
Returns the number of ticks per second
Returns the average duration of a tick in seconds