esterror

Hal Murray hmurray at megapathdsl.net
Tue Oct 11 06:56:44 UTC 2016


gem at rellim.com said:
> esterror is a long of micro sec:
> Can that be made consistent, and nano sec? 
> ntp_loopfilter.c:			ntv.esterror =3D (uint32_t)(clock_jitter * 1e6);

nvt is a struct timex, part of a kernel API.  You can't change it, at least 
not without screwing things up if anybody looks at it.

On 32 bit NetBSD and FreeBSD, it's a long, so even if you could change it to 
nanoseconds, that would be getting close to overflowing.

-- 
These are my opinions.  I hate spam.





More information about the devel mailing list