lkml.org 
[lkml]   [1999]   [Dec]   [7]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRE: sys_settimeofday()
>>>>> On Tue, 7 Dec 1999 12:16:56 -0800, "David Schwartz" <davids@webmaster.com> said:

David.Schwartz> Because you usually try to keep the system
David.Schwartz> time as close to the right time as
David.Schwartz> possible. Whereas, for the RTC, you'd probably
David.Schwartz> rather set it very infrequently so you can measure
David.Schwartz> its drift accurately so you can estimate how far it
David.Schwartz> is off on boot up.

That's a good point. We certainly don't want to always keep the
kernel time in sync with the firmware time which means that,
logically, there unavoidably will be two different times. Given this,
it's better to keep those two times separate and provide explicit
interfaces to control them individually.

Thanks,

--david

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:55    [W:0.135 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site