lkml.org 
[lkml]   [2000]   [Dec]   [31]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: Linux 2.2.18: /proc/apm slows system time (was: Linux 2.2.19pre3)
DateSun, 31 Dec 2000 13:37:00 +0000 (GMT)
FromAlan Cox <>
> > 	while { true } do cat /proc/apm done
> > 
> > made the box visibly stall and jerk doing X operations
> 
> Ok, now, what can be done about the stall? I assume nothing serious.

Nothing much

> Is there at least away we can recover the proper system time after these
> stalls?

If you have a tsc on your chip - I think most modern laptops will do as they
tend to be pentium/mmx k6 or pII/pIII processors, then you can check the 
elapsed CPU cycles and recover the jiffies from that. Might be an interesting
exercise for someone


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

\
 
 \ /
  Last update: 2005-03-22 12:52    [from the cache]
©2003-2008