rtime-clock 0.14.0

System clock interfaces (adjtime/adjtimex slew and step, PTP hardware clock) for the rTime NTP/PTP daemon
Documentation

rtime-clock

crates.io docs.rs

System clock interfaces for rTime, a high-performance NTP/PTP time synchronization daemon written in Rust.

Abstracts the platform primitives used to read and steer the system clock — slewing (adjtime/adjtimex), stepping (clock_settime), and reading PTP hardware clocks — behind a common interface, with a mock backend for tests.

Contents

Module Purpose
unix Unix system-clock backend
adjtime adjtime/adjtimex slew and frequency adjustment
phc PTP hardware clock (PHC) access
mock In-memory clock for testing

License

Licensed under the MIT license.