#time-synchronization #ptp #linux #virtualization #time

ptp-sync

Synchronize the system-wide real-time clock based on a source PTP clock

2 releases

0.0.2 May 26, 2025
0.0.1 May 25, 2025

#721 in Unix APIs

Download history

51 downloads per month

Apache-2.0

21KB
297 lines

ptp-sync-rs

Crates.io docs.rs Crates.io License deps.rs Crates.io MSRV

A (probably only Linux-compatible) crate that provides ClockSyncer, which can synchronize on-demand the system-wide real-time (i.e., wall-clock time) clock using a specified PTP clock as the source of truth.

Originally developed to be used in virtual machines, with KVM's paravirtualized PTP clock as source.

Dependencies

~8–14MB
~212K SLoC