mirror of
https://gitlab.com/chrony/chrony.git
synced 2026-01-20 21:00:20 -05:00
tempcomp: allow configuration with list of points
In addition to the quadratic function, allow configuration of the compensation with a file containing list of (temperature, compensation) points used for linear interpolation and extrapolation.
This commit is contained in:
2
conf.h
2
conf.h
@@ -94,7 +94,7 @@ extern void CNF_SetupAccessRestrictions(void);
|
||||
extern int CNF_GetSchedPriority(void);
|
||||
extern int CNF_GetLockMemory(void);
|
||||
|
||||
extern void CNF_GetTempComp(char **file, double *interval, double *T0, double *k0, double *k1, double *k2);
|
||||
extern void CNF_GetTempComp(char **file, double *interval, char **point_file, double *T0, double *k0, double *k1, double *k2);
|
||||
|
||||
extern char *CNF_GetUser(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user