Module statime::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§

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