On Thu, 5 Mar 2009 18:37:12 -0600, Asim <linka...@gmail.com> wrote:
> I would like a processor independent solution. I figured out
> cpu_frquency/HZ *2 should give me the answer.

That will be hard. You could rely on a free running timer, but then you are
tied to variations in HW again.
(although that would be the most reliable way).
You might also want to look into 'bogusMips', perhaps that could help as
well, not sure though.

B rgds
Kris

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecar...@nl.linux.org
Please read the FAQ at http://kernelnewbies.org/FAQ

Reply via email to