mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 19:15:07 -05:00
clientlog: count RX and TX timestamps for each source
Count served timestamps in all combinations of RX/TX and daemon/kernel/hardware. Repurpose CLG_LogAuthNtpRequest() to update all NTP-specific stats in one call per accepted request and response.
This commit is contained in:
@@ -120,6 +120,12 @@ typedef struct {
|
||||
uint32_t ntp_interleaved_hits;
|
||||
uint32_t ntp_timestamps;
|
||||
uint32_t ntp_span_seconds;
|
||||
uint32_t ntp_daemon_rx_timestamps;
|
||||
uint32_t ntp_daemon_tx_timestamps;
|
||||
uint32_t ntp_kernel_rx_timestamps;
|
||||
uint32_t ntp_kernel_tx_timestamps;
|
||||
uint32_t ntp_hw_rx_timestamps;
|
||||
uint32_t ntp_hw_tx_timestamps;
|
||||
} RPT_ServerStatsReport;
|
||||
|
||||
typedef struct {
|
||||
|
||||
Reference in New Issue
Block a user