local: make maximum frequency offset configurable

Add maxdrift directive to set the maximum assumed drift of the clock,
which sets the maximum frequency offset chronyd is allowed to use to
to correct the drift.
This commit is contained in:
Miroslav Lichvar
2016-03-22 17:07:46 +01:00
parent d70e815e9f
commit a12c7c422b
4 changed files with 32 additions and 6 deletions

1
conf.h
View File

@@ -83,6 +83,7 @@ extern char *CNF_GetLeapSecTimezone(void);
/* Value returned in ppm, as read from file */
extern double CNF_GetMaxUpdateSkew(void);
extern double CNF_GetMaxClockError(void);
extern double CNF_GetMaxDrift(void);
extern double CNF_GetCorrectionTimeRatio(void);
extern double CNF_GetMaxSlewRate(void);