On Mon, Jul 10, 2023 at 11:18:36AM +0200, Maciek Machnikowski wrote:
> Do you mean the one in clock.c? If so, the clock_stats_display resets
> them, so there's no way of printing the stats from a whole run -
> especially if we want to add some periodic read of these stats.

The logged stats can be combined over any number of intervals as you
like.

If that is not acceptable for some reason, I'd prefer to add a new
option to not reset the stats after printing instead of duplicating
the functionality in a different place and printing the data in a
different format.

-- 
Miroslav Lichvar



_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to