click_jiffies()

Douglas S. J. De Couto decouto at lcs.mit.edu
Wed Jun 19 12:40:32 EDT 2002


in userlevel, click_jiffies can go backwards if the time is changed. 
does this make sense?

perhaps it should check for this, and keep returning the last jiffy time 
until time goes foward?

i.e.

jiff = <gettimeofday calculation>
if (jiff < last_jiff) return jiff
last_jiff = jiff

of course, what happens when the computer's clock is set backwards 1 or 
more hours?

d

-- 
Douglas S. J. De Couto    decouto at lcs.mit.edu





More information about the click mailing list