[ntp:questions] Re: Linux Kernel functions usef by NTP for controlling the system clock

DeviPrasad Natesan ndprasad at gmail.com
Wed May 24 02:22:22 UTC 2006


I have a few questiions regarding the use of the function adjtime.
When does the NTP takes decision on changing the "offset"
(ADJ_OFFSET_SINGLESHOT) and when "tick" (ADJ_TICK).

Is there any provision to control the frequency of the osciallator if
we have an TCXO or OCXO without changing the "tick" in the kernel to
achieve frequency correction. How does the NTP scale when using this
way..Any experience by the people on using this way..

Thnx
- Prasad

On 19 May 2006 10:55:39 +0200, Ulrich Windl
<Ulrich.Windl at rz.uni-regensburg.de> wrote:
> "Tim" <Tanguy.ropitault at gmail.com> writes:
>
> > I have been asked to enumerate the kernel Linux functions use by NTP
> > for controlling the system clock. Is there a document wich enumerate
> > the functions used?
> > Obviously, there are:
> > settimeofday
> > adjtime
> > and their dependencies, but are there other functions of the linux
> > kernel that NTP use directly???
>
> ntp_gettime()
> ntp_adjtime()
>
> Just see an unpolluted <timex.h>
>
> Regards,
> Ulrich
>
> _______________________________________________
> questions mailing list
> questions at lists.ntp.isc.org
> https://lists.ntp.isc.org/mailman/listinfo/questions
>



More information about the questions mailing list