Re: [Linuxptp-users] ptp4l output messages/statistics
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Miroslav L. <mli...@re...> - 2014-08-13 08:25:12
|
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 |