login
Header Space

 
 

Re: gettimeofday() in 2.6.24

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Chris Friesen <cfriesen@...>
Cc: <linux-kernel@...>
Date: Friday, April 18, 2008 - 4:54 am

On Thu, Apr 17, 2008 at 7:13 PM, Chris Friesen <cfriesen@nortel.com> wrote:


is "xtime" updated by the time tick clock timer, i.e., the timer which
generates interrupts every 1/HZ second to the kernel. Put it in
another way,
does gettimeofday get time in two parts 1) seconds from xtime.tv_sec,
updated by timer0, 2) microseconds from xtime.tv_nsec +
system_timer->offset(), updated by timer0 and timer3.

Do you mean the code here
"http://lxr.linux.no/linux+v2.6.24/kernel/time/timekeeping.c#L45"
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
gettimeofday() in 2.6.24, Jack Harvard, (Thu Apr 17, 1:31 pm)
Re: gettimeofday() in 2.6.24, Chris Friesen, (Thu Apr 17, 2:13 pm)
Re: gettimeofday() in 2.6.24, Jack Harvard, (Fri Apr 18, 4:54 am)
Re: gettimeofday() in 2.6.24, Chris Friesen, (Fri Apr 18, 10:35 am)
speck-geostationary