tech-kern archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: on "monotonic clock gone backwards"
On Fri, Jan 30, 2009 at 10:00:29PM +0100, Matthias Drochner wrote:
>
> M.Drochner%fz-juelich.de@localhost said:
> > This can lead to "now - stime" being negative in kern_synch.c:updaterti
> > me() which can make LWP->l_rtime negative if the time step is big
> > enough.
>
> And to the adjustment in kern_resource.c:calcru() becoming
> negative, just for the record.
That one usually just makes the reported system/user time be less
than the previous value.
I keep on thinking of saving the last reported values to ensure
they only increase - but need another round tuit.
David
--
David Laight: david%l8s.co.uk@localhost
Home |
Main Index |
Thread Index |
Old Index