Re: kernel delay resolution

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

 



On Fri, Oct 15, 2010 at 19:29, J.Hwan.Kim <j.hwan.kim99@xxxxxxxxx> wrote:
> Hi, everyone
>
> I'm using ATMEL9260 (180MHZ, 200MIPS) CPU.
> I want to use delay kernel function below microsecond resolution.
> As far as I know, nano delay function is using udelay(), so the resolution
> is same as udelay().
> How can I delay kernel below microsecond resolution.
> Any hint will be helpful to me.

I think you'll end up using busy loop here. Check how BogoMIPS is
calculated...IIRC the number can be used to generate certain amount of
delay as you like


-- 
regards,

Mulyadi Santosa
Freelance Linux trainer and consultant

blog: the-hydra.blogspot.com
training: mulyaditraining.blogspot.com

--
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