xiaoxiang781216 edited a comment on pull request #5424:
URL: https://github.com/apache/incubator-nuttx/pull/5424#issuecomment-1030875859


   > @xiaoxiang781216 without my patch I'm getting 40ms always (not between 
30ms-40ms) and with my patch I'm getting 30ms always (not between 20ms-30ms).
   
   It's just because you start the POSIX timer at the same time of schedule 
timer interrupt(10*n in above example).
   
   > If you can describe an situation even theoretical when I can have less 
than 30ms with my patch, then please describe it.
   
   You can try to start your POSIX timer in a GPIO interrupt handler, toggle 
the GPIO by hand, and measure the result. In most case, you will see what I 
describe, because GPIO can happen randomly in one tick period.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to