lkml.org 
[lkml]   [1997]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: The adjtime() system call
   Date: 	Fri, 11 Apr 1997 19:22:19 +0100
From: "Andrew M. Bishop" <amb@gedanken.demon.co.uk>

I have used the adjtime() system call to correct the date/time of my
Linux system and I notice that the time is only changed very slowly.
Over a one hour period, the time changes only by about 2 seconds
relative to a fixed reference.

The questions I have are why is the amount of change allowed so small?
And what breaks if I change my kernel to make tickadj 100000/HZ and
hence a 1% drift rate?
The adjtime system call has been carefully tuned to handle continues
adjustment for use with a running ntpd. It wasn't really intended (at
least not as currently coded) for what you were trying to do.

- Ted

\
 
 \ /
  Last update: 2005-03-22 13:39    [from the cache]
©2003-2011 Jasper Spaans