mirror of
https://github.com/apache/nuttx.git
synced 2026-10-13 17:20:20 +00:00
clock_gettime(CLOCK_MONOTONIC) reads g_system_ticks, which is only
refreshed when a timer expiration is processed. On SCHED_TICKLESS an
idle system has no timeout armed, so the clock returns 0 before the
first expiration and a frozen value afterwards.
This regressed in commit
|
||
|---|---|---|
| .. | ||
| clock.c | ||
| clock.h | ||
| clock_adjtime.c | ||
| clock_delay.c | ||
| clock_getres.c | ||
| clock_gettime.c | ||
| clock_initialize.c | ||
| clock_notifier.c | ||
| clock_perf.c | ||
| clock_realtime2absticks.c | ||
| clock_sched_ticks.c | ||
| clock_settime.c | ||
| clock_systime_ticks.c | ||
| clock_systime_timespec.c | ||
| clock_timekeeping.c | ||
| clock_timekeeping.h | ||
| CMakeLists.txt | ||
| Make.defs | ||