Re: Linux 2.2.18: /proc/apm slows system time (was: Linux 2.2.19pre3)

From: Matthias Andree (matthias.andree@stud.uni-dortmund.de)
Date: Tue Jan 02 2001 - 11:32:33 EST


On Sun, 31 Dec 2000, Alan Cox wrote:

> 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

This had been a report for a non-portable computer which should (Duron)
indeed have a TSC, that is, /proc/cpuinfo lists one ;-) Do 486s
generally have APM so it might be worth fixing/working around for them?

If so, would re-reading from CMOS for boxes without TSC be a "valid"
solution?

-- 
Matthias Andree
-
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/



This archive was generated by hypermail 2b29 : Sun Jan 07 2001 - 21:00:13 EST