Thanks a lot. I change the master's sync interval to be 1 second or longer and 
see the master offsets are logged instead of rms values.

Daniel

-----Original Message-----
From: Miroslav Lichvar [mailto:[email protected]] 
Sent: Wednesday, August 13, 2014 4:25 AM
To: Daniel Le
Cc: [email protected]
Subject: Re: [Linuxptp-users] ptp4l output messages/statistics

On Mon, Aug 11, 2014 at 10:29:01PM +0000, Daniel Le wrote:
> Hi everyone,
> 
> I use the command "ptp4l -m -q -i eth1 -s -S" to test my PTP device in slave 
> mode and with software time stamping. It is connected back-to-back with a 
> grandmaster clock.
> 
> >From the ptp4l output, the last state change message "UNCALIBRATED to SLAVE 
> >on MASTER_CLOCK_SELECTED" indicates successful synchronization with the PTP 
> >master clock and the statistics are printed out. However, I don't see the 
> >messages about the calculated offset from master, for example 
> >"ptp4l[1821225.525]: master offset 17756  s2   adj +1812   path delay 
> >53581", do they only apply to hardware time stamping? If that is the case 
> >then which one of the shown statistics is equivalent to "master offset", 
> >otherwise what did I miss?

The individual measurements are replaced in the log with the rms values when 
the sync interval is shorter than summary_interval (1 second by default). See 
the summary_interval description in the ptp4l man page.

--
Miroslav Lichvar

------------------------------------------------------------------------------
_______________________________________________
Linuxptp-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to