Simulator.Clock
type t = int
The type representing a timestamp.
val set_timestamp : t -> unit
Sets the timestamp of the simulation clock to ts.
the new timestamp for the simulation clock
val get_timestamp : unit -> t
Get the current timestamp of the simulation clock.
val zero : t
Get the timestamp for clock zero.
val to_string : t -> string
Converts a timestamp to string.
the timestamp in non-string form
val reset : unit -> unit
Reset the simulation clock back to zero.