mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 16:35:06 -05:00
sys_linux: increase number of PHC readings
Increase the number of requested readings from 10 to 25 - the maximum accepted by the PTP_SYS_OFFSET* ioctls. This should improve stability of HW clock tracking and PHC refclock.
This commit is contained in:
@@ -794,7 +794,7 @@ SYS_Linux_CheckKernelVersion(int req_major, int req_minor)
|
||||
|
||||
#if defined(FEAT_PHC) || defined(HAVE_LINUX_TIMESTAMPING)
|
||||
|
||||
#define PHC_READINGS 10
|
||||
#define PHC_READINGS 25
|
||||
|
||||
static int
|
||||
process_phc_readings(struct timespec ts[][3], int n, double precision,
|
||||
|
||||
Reference in New Issue
Block a user