clock_id_pb2
Generated protocol buffer code.
Classes:
-
ClockId–A unique identifier for a clock in a distributed system.
ClockId
ClockId(
*,
sensor_id: SensorId | None = ...,
interface_id: InterfaceId | None = ...,
ptp_clock_id: PtpClockId | None = ...,
linux_clock_device_id: LinuxClockDeviceId | None = ...,
system_clock_id: SystemClockId | None = ...
)
Bases: Message
A unique identifier for a clock in a distributed system.
A clock is a physical or emulated device that can participate in PTP or PHC2SYS synchronization, and there can be multiple clocks per physical device. For example, an ECU might have a system clock and multiple network interfaces with their own clock devices.
-
API Reference
-
linuxptp_monitorethtool_harnessget_canonicalized_clock -
sync_graphsync_graph -
sync_tooling_msgs-
clock_alias_update_pb2ClockAliasUpdatealiases -
clock_diff_measurement_pb2ClockDiffMeasurement -
clock_idparse_clock_id -
clock_master_update_pb2ClockMasterUpdate -
phc2sys_status_message_pb2Phc2SysStatusMessage -
phc2sys_update_pb2Phc2SysUpdate -
port_id_pb2PortIdclock_id -
ptp4l_status_message_pb2Ptp4lStatusMessageclock_id -
ptp_parent_update_pb2PtpParentUpdateclock_id -
self_reported_clock_state_update_pb2SelfReportedClockStateUpdateclock_id
-
-
-
API Reference
-
linuxptp_monitorphc2sys_instancePhc2SysRunningState -
sync_graphsync_graph -
sync_tooling_msgs-
clock_alias_update_pb2ClockAliasUpdate -
clock_diff_measurement_pb2ClockDiffMeasurement -
clock_id -
clock_master_update_pb2ClockMasterUpdate -
phc2sys_status_message_pb2Phc2SysStatusMessage -
phc2sys_update_pb2Phc2SysUpdate -
port_id_pb2PortId -
ptp4l_status_message_pb2Ptp4lStatusMessage -
ptp_parent_update_pb2PtpParentUpdate -
self_reported_clock_state_update_pb2SelfReportedClockStateUpdate
-
-
Methods:
-
interface_id–The name of a network interface on a specific host
-
linux_clock_device_id–The ID of a clock device on a Linux host
-
ptp_clock_id–A hexadecimal identifier as used by the PTP protocol, usually derived from a MAC address
-
sensor_id–An ID uniquely describing a sensor in the system.
-
system_clock_id–The system clock of an ECU
linux_clock_device_id
linux_clock_device_id() -> LinuxClockDeviceId
The ID of a clock device on a Linux host
ptp_clock_id
ptp_clock_id() -> PtpClockId
A hexadecimal identifier as used by the PTP protocol, usually derived from a MAC address