Re: Wait for two clock ticks

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, 5 Mar 2009 18:37:12 -0600, Asim <linkasim@xxxxxxxxx> 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 ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ



[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux