Re: [Linuxptp-devel] PHC delay when calling clock_gettime

2018-12-03 Thread Keller, Jacob E
> -Original Message- > From: Thomas Behn [mailto:[email protected]] > Sent: Monday, December 03, 2018 11:31 AM > To: [email protected] > Subject: [Linuxptp-devel] PHC delay when calling clock_gettime > > Hi everyone, > > > While developing a PTP slave using the L

[Linuxptp-devel] PHC delay when calling clock_gettime

2018-12-03 Thread Thomas Behn
Hi everyone, While developing a PTP slave using the Linux PHC, I noticed, that everytime I call clock_gettime with the PHC ID, the time on the PHC jumps or at least changes by around 200-300ns. I noticed this, because I have implemented an algorithm reading the PHC time ten times in a row to find a