nuttx/sched
Michal Lenc 360e938fa6 sched: add support for adjtime() interface
This commit adds Linux like adjtime() interface that is used to correct
the system time clock if it varies from real value. The adjustment is
done by slight adjustment of clock period and therefore the adjustment
is without time jumps (both forward and backwards)

The implementation is enabled by CONFIG_CLOCK_ADJTIME and separated from
CONFIG_CLOCK_TIMEKEEPING functions. Options CONFIG_CLOCK_ADJTIME_SLEWLIMIT
and CONFIG_CLOCK_ADJTIME_PERIOD can be used to control the adjustment
speed.

Interfaces up_get_timer_period() and up_adj_timer_period() has to be
defined by architecture level support.

This is not a POSIX interface but derives from 4.3BSD, System V.
It is also supported for Linux compatibility.

Signed-off-by: Michal Lenc <michallenc@seznam.cz>
2023-04-25 14:37:50 -03:00
..
addrenv sched/addrenv.c: Implement re-entrancy for addrenv_select() 2023-04-25 14:33:19 +02:00
clock sched: add support for adjtime() interface 2023-04-25 14:37:50 -03:00
environ sched/env: add tg_envc in task_group_s to avoid some loops in code 2023-02-25 23:10:37 +02:00
group sched/addrenv.c: Implement re-entrancy for addrenv_select() 2023-04-25 14:33:19 +02:00
init Launch the initial task through task_spawn instead of nxtask_create 2023-01-25 23:34:52 +02:00
irq sched/irq: optimizing IRQMONITOR, move up_perf_convert to irq_procfs 2023-04-25 09:58:43 +08:00
misc sched/assert: Simplify the fatal detection logic 2023-04-04 11:29:10 -04:00
module procfs: Add g_ prefix to all procfs_operations 2023-04-22 03:33:50 -04:00
mqueue nuttx: add more dependent header file 2023-04-11 09:13:32 +03:00
paging sched/paging: add FAR in paging worker 2023-03-26 09:23:50 -06:00
pthread system: pthread_barrierwait should be moved to kernel space 2023-04-25 15:34:40 +08:00
sched sched/addrenv.c: Implement re-entrancy for addrenv_select() 2023-04-25 14:33:19 +02:00
semaphore sched/addrenv.c: Implement re-entrancy for addrenv_select() 2023-04-25 14:33:19 +02:00
signal signal: add SIGSYS 2023-03-28 11:24:35 -06:00
task sched/addrenv, binfmt: Always allocate address environment from heap 2023-04-22 00:43:30 +08:00
timer sched/getpid: replace syscall getpid/tid/ppid() to kernel version 2023-02-02 10:33:01 +08:00
tls sched/group: fix task info heap-use-after-free 2023-01-11 01:53:59 +08:00
wdog arch/arm64: the arm64 perf interface supports pmu 2023-04-10 16:23:49 -03:00
wqueue sched/wqueue: fix issue about worker can't wake up thread before work_thread running 2023-04-19 02:50:04 +08:00
Kconfig sched: add support for adjtime() interface 2023-04-25 14:37:50 -03:00
Makefile group/group_addrenv: Move address environment from group -> tcb 2023-02-08 02:51:23 +08:00