clock_master_update_pb2
Generated protocol buffer code.
Classes:
-
ClockMasterUpdate–A graph update relating a clock to its PTP master, along with a master offset measurement.
ClockMasterUpdate
ClockMasterUpdate(
*,
clock_id: ClockId | None = ...,
master: ClockId | None = ...,
master_offset_ns: int | None = ...
)
Bases: Message
A graph update relating a clock to its PTP master, along with a master offset measurement.
Returned by:
-
API Reference
sync_tooling_msgsgraph_update_pb2GraphUpdateclock_master_update
Methods:
-
clock_id–The destination clock. Must be set for the message to be valid
-
master–The master clock. If empty, this update expresses that
clock_idhas no master.
Attributes:
-
master_offset_ns(int) –The master offset in nanoseconds, as reported by PMC
master_offset_ns
instance-attribute
The master offset in nanoseconds, as reported by PMC
master
master() -> ClockId
The master clock. If empty, this update expresses that clock_id has no master.
The measurement will then be ignored.