mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-06 09:05:06 -05:00
Return actual frequency in drv_set_freq functions
This is needed to keep sourcestats accurate when the actual frequency is different from the requested frequency due to clamping (or possibly rounding in future system drivers).
This commit is contained in:
@@ -70,7 +70,7 @@ struct tmx_params {
|
||||
|
||||
int TMX_SetTick(long tick);
|
||||
int TMX_ApplyOffset(long *offset);
|
||||
int TMX_SetFrequency(double freq, long tick);
|
||||
int TMX_SetFrequency(double *freq, long tick);
|
||||
int TMX_GetFrequency(double *freq);
|
||||
int TMX_GetOffsetLeftOld(long *offset);
|
||||
int TMX_GetOffsetLeft(long *offset);
|
||||
|
||||
Reference in New Issue
Block a user