You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2022/02/19 11:46:02 UTC

[GitHub] [incubator-nuttx-apps] xiaoxiang781216 commented on pull request #1005: Remove CONFIG_CLOCK_MONOTONIC special code

xiaoxiang781216 commented on pull request #1005:
URL: https://github.com/apache/incubator-nuttx-apps/pull/1005#issuecomment-1045998578


   > @xiaoxiang781216 what happened to CLOCK_REALTIME? If I'm not wrong CLOCK_REALTIME is affected when you change the time/date and CLOCK_MONOTONIC is not. Isn't going break some application and/or Linux/POSIX compatibility? For measuring elapsed time in fact CLOCK_MONOTONIC is the solution, but I guess there are cases where CLOCK_REALTIME could be useful. More info: https://stackoverflow.com/questions/3523442/difference-between-clock-realtime-and-clock-monotonic http://www.qnx.com/developers/docs/qnxcar2/index.jsp?topic=%2Fcom.qnx.doc.neutrino.getting_started%2Ftopic%2Fs1_timer_CLOCK_MONOTONIC.html https://tagmerge.com/question/difference-between-clock_realtime-and-clock_monotonic?answer=61e1f9684f0d313df01d4719
   
   reply in https://github.com/apache/incubator-nuttx/pull/5503 


-- 
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: commits-unsubscribe@nuttx.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org