mirror of
https://gitlab.com/chrony/chrony.git
synced 2025-12-07 03:45:06 -05:00
Add support for ADJ_SETOFFSET mode
This adjtimex mode allows precise stepping of the system clock.
This commit is contained in:
@@ -40,6 +40,7 @@ struct timex {
|
||||
#define ADJ_MAXERROR 0x0004 /* maximum time error */
|
||||
#define ADJ_STATUS 0x0010 /* clock status */
|
||||
#define ADJ_TIMECONST 0x0020 /* pll time constant */
|
||||
#define ADJ_SETOFFSET 0x0100 /* add 'time' to current time */
|
||||
#define ADJ_NANO 0x2000 /* select nanosecond resolution */
|
||||
#define ADJ_TICK 0x4000 /* tick value */
|
||||
#define ADJ_OFFSET_SINGLESHOT 0x8001 /* old-fashioned adjtime */
|
||||
|
||||
Reference in New Issue
Block a user