Pivoting (or rather missing pivot)

Gary E. Miller gem at rellim.com
Wed Apr 26 18:38:50 UTC 2017


Yo Hal!

On Wed, 26 Apr 2017 00:52:27 -0700
Hal Murray <hmurray at megapathdsl.net> wrote:

> > Different code path.  
> 
> OK, I'm missing something.

Many people are.  We jus tnot sure which ones.  :-)

> Eric restored the pivot code that we don't like to step_systime()

Yes.

> How does the first step happen without going through there?

Wrong question, it does not matter even if it did.  step_systime()
takes the amount to step as a double.  Any pivot info is long
gone.  step_systime() just adds step to the current sys clock time
and then sets that time.  But in a very long and obfuscated way.

>  and/or
> how does the first step get turned into the right size double without
> a pivot and/or where does that pivot happen?

Unrelated to this issue. That happens in ntpd/ntp_loopfilter.c
So a question for another thread.  Let's not continue to get lost
bouncing around.

RGDS
GARY
---------------------------------------------------------------------------
Gary E. Miller Rellim 109 NW Wilmington Ave., Suite E, Bend, OR 97703
	gem at rellim.com  Tel:+1 541 382 8588

	    Veritas liberabit vos. -- Quid est veritas?
    "If you can’t measure it, you can’t improve it." - Lord Kelvin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 488 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ntpsec.org/pipermail/devel/attachments/20170426/3d0c0115/attachment.bin>


More information about the devel mailing list