anchao opened a new pull request, #8995:
URL: https://github.com/apache/nuttx/pull/8995

   ## Summary
   
   sim/win/hosttime: calculate sec/ms independently to avoid overflow 
   
   In the previous implementation, PerformanceCounter would cause overflow
   after running for a long time, This commit will separate the calculation
   of the sec/ms part to avoid this issue, Reference:
   
   https://github.com/cygwin/cygwin/blob/main/winsup/cygwin/clock.cc#L194-L217
   
   ## Impact
   
   N/A
   
   ## Testing
   
   cmake + msvc


-- 
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