On 1/25/22, Alexander Bulimov via Linuxptp-devel
<[email protected]> >
+struct PortServiceStats {
> + uint64_t announce_timeout;
> + uint64_t sync_timeout;
> + uint64_t delay_timeout;
> + uint64_t unicast_service_timeout;
> + uint64_t unicast_request_timeout;
> + uint64_t master_announce_timeout;
> + uint64_t master_sync_timeout;
> + uint64_t qualification_timeout;
> + uint64_t sync_mismatch;
> + uint64_t followup_mismatch;
> +};
> --- a/port_private.h
> +++ b/port_private.h
> @@ -146,6 +146,7 @@ struct port {
> UInteger8 delay_response_counter;
> UInteger8 delay_response_timeout;
> struct PortStats stats;
> + struct PortServiceStats service_stats;
> /* foreignMasterDS */
> LIST_HEAD(fm, foreign_clock) foreign_masters;
> /* TC book keeping */
I don't see a way to reset/clear these counters. Should there be? It
will take a while to overflow 64 bits, so it probably isn't needed?
Just kind of curious.
-Dale
_______________________________________________
Linuxptp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel