On Tue, May 25, 2021 at 08:28:34PM +0000, Tim Martin wrote: > Currently there is no way to programmatically access statistics about > the clock frequency offset, time delay, or time offset (collectively, > the "clock_stats" metrics), except for parsing the ptp4l logs. One > option for time offset would be to poll TLV_TIME_STATUS_NP in regular > intervals from a custom client, but that has the disadvantage of either > very high poll rates or missed updates which would affect the statistics.
Not if you use the push method. commit 6d7c090706e76af334185ffcec9cc56d0570e215 Author: Juergen Werner <[email protected]> Date: Wed Jan 20 20:11:34 2021 +0100 Implement push notification for TIME_STATUS_NP Subscribers to NOTIFY_TIME_SYNC will be notified on every clock synchronization. Thanks, Richard _______________________________________________ Linuxptp-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/linuxptp-devel
