Thanks for the information Richard!

I notice these statistics are per port and do not have values such as
master-slave delay or slave-master delay as described in the 1588-2019
Annex J. Do you recommend me adding a new tag for these per instance
statistics or update this current tag (TLV_PORT_STATS_NP) with those
statistics that are missing?



On Thu, Feb 25, 2021 at 7:05 AM Richard Cochran <richardcoch...@gmail.com>
wrote:

> On Wed, Feb 24, 2021 at 02:31:21PM -0800, Kien Tran wrote:
>
> > Another way I was thinking was to create a circular buffer to contain the
> > 99 sets of data points and updating the pointer of the current head
> (every
> > 15 minutes) to the last entry in the circular buffer.
> >
> > Please let me know what you think, or if this is not the right place to
> be
> > asking these questions.
>
> We already have TLV_PORT_STATS_NP.  Just use that.  If you _really_
> want circular buffers, memory allocation, etc, please write your own
> monitor program that reads TLV_PORT_STATS_NP and converts the
> statistics into whatever form you like.
>
> But on this topic, the linuxptp approach is K.I.S.S.
>
> Thanks,
> Richard
>
_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to