Hi William
> 
> To be precise CLOCK_REALTIME is synchronized with your PTP clock using
> phc2sys, CLOCK_MONOTINIC not...
According to "man clock_gettime"
CLOCK_MONOTONIC
              Clock that cannot be set and represents monotonic time since  
some  unspecified
              starting  point.  This clock is not affected by discontinuous 
jumps in the sys-
              tem time (e.g., if the system administrator manually changes the 
clock), but is
              affected by the incremental adjustments performed by adjtime(3) 
and NTP.

I think that phc2sys uses clock_adjtime() to modify the clock.
My thought was that this should effect CLOCK_REALTIME and CLOCK_MONOTONIC...
But likely I am wrong.

Regards

Mathias

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to