Re: [Linuxptp-users] Collecting statistics
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Miroslav L. <mli...@re...> - 2013-09-04 08:29:31
|
On Wed, Sep 04, 2013 at 07:41:32AM +0000, Ledda William EXT wrote: > Hi all, > I have seen from the source code that it is possible to collect and logs some statistics information about the offset, the delay and some other parameter with ptp4l and phc2sys, but to enable this statistics the max_count value of the stats field of the clock structure must be > 1. I can't find any command line option to set this max_count. Do I have to modify the source code or there is some option that I'm missing? > > I'm using version 1.2, I haven't tried with 1.3. It's set by the summary_interval option for ptp4l and the -u option for phc2sys. For example, to print the statistics every 64 seconds, set summary_interval to 6. -- Miroslav Lichvar |