Multicore_bench.Unit_of_time
Dealing with units of time.
type t = [
| `s
seconds
| `ms
milliseconds
| `mus
microseconds
| `ns
nanoseconds
]
Represents a unit of time.
val to_multiplier : [< t ] -> float
to_multiplier t converts the unit of time t to a multiplier.
to_multiplier t
t
val to_mnemonic : [< t ] -> string
to_mnemonic t returns a human readable mnemonic for the unit of time t.
to_mnemonic t