mirror of
https://github.com/apache/nuttx.git
synced 2026-06-08 01:42:58 +08:00
3f05df3fbb
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 Signed-off-by: chao an <anchao@xiaomi.com>