[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: High Resolution Ticks in linux kernel
On Mon, 2002-06-03 at 16:40, vany s wrote:
> 100 ..(100 clockticks per sec) so how do i send the
> high resolution time values i.e micro and nanosec
> waits in terms of ticks so as to schedule a
> wait/timeout for that many ticks? ( I do not want to
> tune the kernel parameter to change the system
> frequency from 100 to a larger value either)
For very short delays use udelay() and mdelay(), for microsecond and
millisecond respectively.
--
Kernelnewbies: Help each other learn about the Linux kernel.
Archive: http://mail.nl.linux.org/kernelnewbies/
FAQ: http://kernelnewbies.org/faq/