struct clock_stats_np_tlv {
...
uint64 freq_stats,
...
};
Or follow Miroslav advice and use integers only.
Erez
From: Tim Martin
Sent: Thursday, 27 May 2021 18:52
To: Miroslav Lichvar
Cc: linuxptp-devel@lists.sourceforge.net
Subject: Re: [Linuxptp-devel] [PATCH] Add new CLOCK_STATS_NP TLV GET
: Tim Martin
Cc: linuxptp-devel@lists.sourceforge.net
Subject: Re: [Linuxptp-devel] [PATCH] Add new CLOCK_STATS_NP TLV GET to pmc and
clock
External email: Use caution opening links or attachments
On Tue, May 25, 2021 at 08:28:34PM +, Tim Martin wrote:
> Currently there is no way to p
t; "get PORT_PROPERTIES_NP" "get PORT_STATS_NP" "get
SUBSCRIBE_EVENTS_NP" "get SYNCHRONIZATION_UNCERTAIN_NP" "get MASTER_ONLY"
Enjoy
Erez
-Original Message-
From: Richard Cochran
Sent: Thursday, 27 May 2021 15:18
To: Tim Martin
Cc:
: Wednesday, May 26, 2021 at 4:45 AM
To: Tim Martin
Cc: linuxptp-devel@lists.sourceforge.net
Subject: Re: [Linuxptp-devel] [PATCH] Add new CLOCK_STATS_NP TLV GET to pmc and
clock
External email: Use caution opening links or attachments
On Tue, May 25, 2021 at 08:28:34PM +, Tim Martin wrote
Sent: Tuesday, 25 May 2021 22:29
To: linuxptp-devel@lists.sourceforge.net
Subject: [Linuxptp-devel] [PATCH] Add new CLOCK_STATS_NP TLV GET to pmc and
clock
Currently there is no way to programmatically access statistics about the clock
frequency offset, time delay, or time offset (collectively,
On Tue, May 25, 2021 at 08:28:34PM +, Tim Martin wrote:
> Currently there is no way to programmatically access statistics about
> the clock frequency offset, time delay, or time offset (collectively,
> the "clock_stats" metrics), except for parsing the ptp4l logs. One
> option for time offset
On Tue, May 25, 2021 at 08:28:34PM +, Tim Martin wrote:
> +struct clock_stats_np_tlv {
> + struct stats_result offset_stats;
> + struct stats_result freq_stats;
> + struct stats_result delay_stats;
> + uint8_t offset_freq_stats_valid;
> + uint8_t delay_stats_valid;
> +}
- averageMasterSlaveDelay
- minMasterSlaveDelay
...
Erez
-Original Message-
From: Tim Martin
Sent: Tuesday, 25 May 2021 22:29
To: linuxptp-devel@lists.sourceforge.net
Subject: [Linuxptp-devel] [PATCH] Add new CLOCK_STATS_NP TLV GET to pmc and
clock
Currently there is no way
Currently there is no way to programmatically access statistics about
the clock frequency offset, time delay, or time offset (collectively,
the "clock_stats" metrics), except for parsing the ptp4l logs. One
option for time offset would be to poll TLV_TIME_STATUS_NP in regular
intervals from a