On Thu, Nov 21, 2019 at 04:11:31PM +0000, Essling, Adam M wrote: > Thu 07 Nov 2019 10:44:47 AM EST: ptp4l[5965458.336]: port 1: new foreign > master xxxxxx.xxxx.xxxxxx-1 > Thu 07 Nov 2019 10:44:14 AM EST: ptp4l[5965462.336]: selected best master > clock xxxxxx.xxxx.xxxxxx
-----------------------------------------^^^^^^^^ This is CLOCK_MONOTONIC. > So I'm wondering if there is a way to get a true timestamp value > from the master clock Not really. The point of the PTP stack is to make the slave clock the same as the master's, but there are always log messages before that happens. You *can* post process the CLOCK_MONOTONIC from the synchronization point backwards and reconstruct the master time stamps from the monotonic time stamps. HTH, Richard _______________________________________________ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users