Parse /proc/cpuinfo. You can derive an estimation for the CPU clock speed
based on CPU type, stepping and bogomips.
On Linux/m68k, /proc/cpuinfo even gives you that estimation automatically.
Greetings,
Geert
-- Geert Uytterhoeven Geert.Uytterhoeven@cs.kuleuven.ac.be Wavelets, Linux/m68k on Amiga http://www.cs.kuleuven.ac.be/~geert/ Department of Computer Science -- Katholieke Universiteit Leuven -- Belgium