Hello.
Steve Chen wrote:
Running 2.6.10 on a DM6467 I see usleep having a minimum resolution of
10ms..
I'm not seeing this function in either recent kernels or MV's 2.6.10.
Perhaps you meant msleep()?
For DM6467, and other ARM Davinci linux implementations, 2.6.10 based
specifically, how does one get the jiffies to 1ms, instead of what
appears to be 10ms?
I believe I have HIGHRES timers enabled...
Anything else one needs to do to get usleep resolution 1ms instead of
10ms?
Try adding this to in include/asm-arm/arch-davinci/param.h:
#define HZ 1000
Scheduler config?
What is the patch level? DM6467 HRT was not working correct. There was
a patch that fixed the problem.
I highly doubt that usleep() or msleep() uses clock_nanosleep(), so
whether HRT works or not shouldn't matter.
Regards,
Steve
WBR, Sergei
_______________________________________________
Davinci-linux-open-source mailing list
[email protected]
http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source