How to implement highly accurate timers in Linux Userspace?
问题 I have Angstrom Linux on my BeagleBoard. I want to implement very accurate timer which can fire at every 500us. I read about hrtimers , but all the implementations I found were for kernel space. I want to implement it in user space. Is there any API which which can call into these hrtimers , which I can use in userspace or any other way of implementing accurate timer in linux? I have set the jiffy to a few nanoseconds. 回答1: Finally, after some more efforts I found a code which suggested to