Re: [Linuxptp-users] Need offset instead of rms
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Richard C. <ric...@gm...> - 2015-03-14 14:27:56
|
On Sat, Mar 14, 2015 at 06:54:13AM +0000, Chandra Mallela wrote: > I need some important help from you. I am unable to get offset at higher frequencies of sync packets (logSyncInterval -9 resulting in 512 packets per second). Only rms value is reported. I rather want offset values for understanding the behaviour of the system. Could you help me out? At that rate, a new Sync frame arrives about every 2 milliseconds. That does not leave much time for printing messages, etc. So, you might have to hack something yourself. If you want to see *every* offset, then I would copy the values into a circular buffer, and then read them out when you have enough data. If you only want to occasionally monitor the offset, then you can poll using the pmc client and the time_status_np request (no hacking required). HTH, Richard |