Module time

Source
Expand description

Types that describe points in time (Time), and durations between two instants (Duration, Interval)

These are used throughout statime instead of types from std::time as they fit closer with the on the wire representation of time in PTP.

Structsยง

Duration
A duration is a span of time that can also be negative.
Interval
A log2 representation of seconds used to describe the pacing of events in PTP
Time
Time represents a specific moment in time.