When reading the system timer, don't read a struct timespec, convert it to a...
When reading the system timer, don't read a struct timespec, convert it to a fake tick count, then back to a timespec. Remove CLOCK_ACTIVETIME.. it is non-standard, unused, and gets in the way of changes like this
Showing
- configs/vsn/src/sif.c 2 additions, 6 deletionsconfigs/vsn/src/sif.c
- include/nuttx/clock.h 19 additions, 0 deletionsinclude/nuttx/clock.h
- include/time.h 1 addition, 14 deletionsinclude/time.h
- sched/clock/Make.defs 1 addition, 1 deletionsched/clock/Make.defs
- sched/clock/clock_gettime.c 33 additions, 72 deletionssched/clock/clock_gettime.c
- sched/clock/clock_settime.c 2 additions, 6 deletionssched/clock/clock_settime.c
- sched/clock/clock_systimespec.c 140 additions, 0 deletionssched/clock/clock_systimespec.c
Loading
Please register or sign in to comment