This website requires JavaScript.
Explore
Help
Register
Sign In
Mirrors_Framework
/
nuttx
Watch
1
Star
0
Fork
0
You've already forked nuttx
mirror of
https://github.com/apache/nuttx.git
synced
2026-06-07 01:05:54 +08:00
Code
Issues
Actions
Packages
Projects
Releases
Wiki
Activity
Files
82cb799bb6d0a06f2181f4dc63ab95a4859eab8b
nuttx
/
sched
/
clock
T
History
Gregory Nutt
e238c8b090
sched/clock/clock_systimer.c: Change the way that the 64-bit time is sampled. Previously, we disabled interrupts before sampling the 64-bit timer since the uint64_t access is not atomic on most CPUs. However, disabling (local) interrupts does not work in the SMP case. In that case, the timer interrupt will be running on only one of the CPUs; disabling interrupts on a different CPU will provide no protection from timer rollover. To work around this, logic was added that samples 64-bit timer is sampled twice and if 32-bit rollover was detected between samples, then loops until there is no rollover.
2018-01-15 11:05:45 -06:00
..
clock_abstime2ticks.c
Miscellaneous fixes from astyle tool.
2017-08-14 17:19:27 -06:00
clock_dow.c
Miscellaneous fixes from astyle tool.
2017-08-14 17:19:27 -06:00
clock_getres.c
…
clock_gettime.c
…
clock_initialize.c
procfs: Fix uptime being close to maximum 32-bit value in certain config
2017-11-10 09:01:39 -06:00
clock_settime.c
…
clock_systimer.c
sched/clock/clock_systimer.c: Change the way that the 64-bit time is sampled. Previously, we disabled interrupts before sampling the 64-bit timer since the uint64_t access is not atomic on most CPUs. However, disabling (local) interrupts does not work in the SMP case. In that case, the timer interrupt will be running on only one of the CPUs; disabling interrupts on a different CPU will provide no protection from timer rollover. To work around this, logic was added that samples 64-bit timer is sampled twice and if 32-bit rollover was detected between samples, then loops until there is no rollover.
2018-01-15 11:05:45 -06:00
clock_systimespec.c
…
clock_ticks2time.c
…
clock_time2ticks.c
…
clock_timekeeping.c
…
clock_timekeeping.h
…
clock_timespec_add.c
…
clock_timespec_subtract.c
…
clock.h
…
Make.defs
…