mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-05 21:45:08 -05:00
Reduce noise in refclock sample dispersions
Use the estimated dispersion only if it's higher than long-term average. This should improve performance with short polling intervals.
This commit is contained in:
@@ -61,6 +61,11 @@ RGR_WeightedRegression
|
||||
|
||||
extern double RGR_GetTCoef(int dof);
|
||||
|
||||
/* Return the value to apply to the variance to make an upper one-sided
|
||||
test assuming a chi-square distribution. */
|
||||
|
||||
extern double RGR_GetChi2Coef(int dof);
|
||||
|
||||
/* Return a status indicating whether there were enough points to
|
||||
carry out the regression */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user