mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-03 18:45:07 -05:00
Handle fluctuations in peer distance better.
This commit is contained in:
committed by
Richard P. Curnow
parent
ca1195a0e6
commit
8022874a47
@@ -373,9 +373,9 @@ find_best_sample_index(SST_Stats inst, double *times_back)
|
|||||||
/* This defines the assumed ratio between the standard deviation of
|
/* This defines the assumed ratio between the standard deviation of
|
||||||
the samples and the peer distance as measured from the round trip
|
the samples and the peer distance as measured from the round trip
|
||||||
time. E.g. a value of 4 means that we think the standard deviation
|
time. E.g. a value of 4 means that we think the standard deviation
|
||||||
is a quarter of the peer distance */
|
is four times the fluctuation of the peer distance */
|
||||||
|
|
||||||
#define SD_TO_DIST_RATIO 8.0
|
#define SD_TO_DIST_RATIO 1.0
|
||||||
|
|
||||||
/* ================================================== */
|
/* ================================================== */
|
||||||
/* This function runs the linear regression operation on the data. It
|
/* This function runs the linear regression operation on the data. It
|
||||||
|
|||||||
Reference in New Issue
Block a user