I'm using SNTP to sync my Debian based system. SNTP has two ways to set the clock:
-s, --settod Set (step) the time with settimeofday(). -j, --adjtime Set (slew) the time with adjtime().
The slew method adjusts the local system clock in small steps until the detected offset is zero. Slewing is primarily done to not upset processes that react badly to a clock gone backwards in time.
The step method sets the clock instantly.
With regards to the slewing of time, how long could SNTP take to complete this?
Is there a way to poll the system and give me feedback that a slew is still in progress?