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

Matthias Andree (matthias.andree@stud.uni-dortmund.de)
Tue, 2 Jan 2001 17:32:33 +0100


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/