Expand description
PI servo clock discipline for NTP/PTP.
Implements a proportional-integral controller that adjusts system clock frequency to converge the measured offset to zero. The servo operates in three phases:
- Init – discard the first few samples while filters warm up.
- FLL (Frequency-Lock Loop) – large gains for fast initial convergence.
- PLL (Phase-Lock Loop) – small gains for fine-grained tracking.
Structs§
- PiServo
- PI (Proportional-Integral) servo for clock discipline.
- Servo
Config - Configuration for the PI servo.
Enums§
- Servo
Action - Action to take on the system clock after processing a sample.
- Servo
State - Servo operating state.