Tapper v0.3.3 Tapper.Timestamp View Source
Timestamp support functions.
Link to this section Summary
Functions
Calculate the different between two timestamp, in microseconds
Produce a high-resolution timestamp for this very instant, compatible with the Tapper API
Convert the timestamp to an absolute time, in microseconds since the epoch
Link to this section Types
Link to this section Functions
Link to this function
duration(t1, t2)
View Source
duration(t1 :: t, t2 :: t) :: microseconds_timestamp
Calculate the different between two timestamp, in microseconds.
Produce a high-resolution timestamp for this very instant, compatible with the Tapper API.
Link to this function
to_absolute(timestamp)
View Source
to_absolute(t :: t) :: microseconds_timestamp
Convert the timestamp to an absolute time, in microseconds since the epoch.