Messages in this thread | | | From | Leo Prasath <> | Date | Tue, 18 Jan 2011 17:33:34 -0600 | Subject | sleep in microsecond granularity in linux |
| |
Hi there,
Is it possible to sleep in granularity of microseconds ? From what i know, there is msleep() which can sleep in milliseconds and there is udelay() which busy waits for time in microsecond granularity. But I need to sleep ( not busy wait ) for granularity of microseconds ...
Is there a way to code a new API in linux kernel to allow this ? For example using interrupts .. Or is there a way to some external hardware timer cards that issue interrupts after certain usecs ?
Any help / pointers/ tips will be very appreciated.
Thanks, -Leo
| |