-
Notifications
You must be signed in to change notification settings - Fork 27
Description
Sometimes we don't want to synchronize the system clock to PTP time source.
It's the case in local audiovisual networks - a device with low jitter clock becomes the master but often it isn't connected to the Internet or GPS so it can't be used as a source of time of day. If I understand correctly, in PTP it's called arbitrary timescale.
Statime used as a library could maintain internal clock, phase-locked to the system TAI clock, with timestamp offset and frequency factor changing according to PTP measurements. System TAI clock would be only read.
Network interface clock (/dev/ptp0) could also be used since it's independent from system clock, but we also need a fallback for NICs without hardware timestamping.
I will start working on it soon since I need it in my unofficial Dante implementation - Inferno.