zephyr/kernel
Andy Ross 669730f030 kernel: Crank up default tick rate
When tickless is available, all existing devices can handle much
higher timing precision than 10ms.  A 10kHz default seems acceptable
without introducing too much range limitation (rollover for a signed
time delta will happen at 2.5 days).  Leave the 100 Hz default in
place for ticked configurations, as those are going to be special
purpose usages where the user probably actually cares about interrupt
rate.

Note that the defaulting logic interacts with an obscure trick:
setting the tick rate to zero would indicate "no clock exists" to the
configuration (some platforms use this to drop code from the build).
But now that becomes a kconfig cycle, so to break it we expose
CONFIG_SYS_CLOCK_EXISTS as an app-defined tunable and not a derived
value from the tick rate.  Only one test actually did this.

Signed-off-by: Andy Ross <andrew.j.ross@intel.com>
2019-07-02 22:52:29 -04:00
..
include userspace: minor typo fixes in various places 2019-07-02 19:18:48 -04:00
atomic_c.c cleanup: include/: move atomic.h to sys/atomic.h 2019-06-27 22:55:49 -04:00
CMakeLists.txt kernel: add futex support 2019-06-24 15:38:21 -07:00
compiler_stack_protect.c all: Update reserved function names 2019-03-11 13:48:42 -04:00
device.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
errno.c all: Update reserved function names 2019-03-11 13:48:42 -04:00
futex.c kernel: delete k_futex_init() 2019-07-01 08:15:10 -07:00
idle.c cleanup: include/: move power.h to power/power.h 2019-06-27 22:55:49 -04:00
init.c cleanup: include/: move misc/stack.h to debug/stack.h 2019-06-27 22:55:49 -04:00
Kconfig kernel: Crank up default tick rate 2019-07-02 22:52:29 -04:00
Kconfig.power_mgmt power: modify HAS_STATE_SLEEP_ Kconfig options 2019-03-26 13:27:55 -04:00
mailbox.c cleanup: include/: move misc/dlist.h to sys/dlist.h 2019-06-27 22:55:49 -04:00
mem_domain.c cleanup: include/: move misc/__assert.h to sys/__assert.h 2019-06-27 22:55:49 -04:00
mem_slab.c cleanup: include/: move misc/dlist.h to sys/dlist.h 2019-06-27 22:55:49 -04:00
mempool.c cleanup: include/: move misc/math_extras.h to sys/math_extras.h 2019-06-27 22:55:49 -04:00
msg_q.c cleanup: include/: move misc/math_extras.h to sys/math_extras.h 2019-06-27 22:55:49 -04:00
mutex.c cleanup: include/: move misc/dlist.h to sys/dlist.h 2019-06-27 22:55:49 -04:00
pipes.c cleanup: include/: move misc/dlist.h to sys/dlist.h 2019-06-27 22:55:49 -04:00
poll.c cleanup: include/: move misc/util.h to sys/util.h 2019-06-27 22:55:49 -04:00
queue.c cleanup: include/: move misc/sflist.h to sys/sflist.h 2019-06-27 22:55:49 -04:00
sched.c include: move system timer headers to include/drivers/timer/ 2019-06-25 15:27:00 -04:00
sem.c cleanup: include/: move misc/dlist.h to sys/dlist.h 2019-06-27 22:55:49 -04:00
smp.c kernel/smp: Rename smp_init() 2019-06-05 17:15:55 -04:00
stack.c cleanup: include/: move misc/__assert.h to sys/__assert.h 2019-06-27 22:55:49 -04:00
system_work_q.c kernel: system_work_q: Set dedicated "sysworkq" name. 2018-10-19 07:58:45 -04:00
thread_abort.c cleanup: include/: move misc/__assert.h to sys/__assert.h 2019-06-27 22:55:49 -04:00
thread.c kernel: fix CONFIG_THREAD_NAME from user mode. 2019-07-01 16:29:45 -07:00
timeout.c kernel/timeout: Remove "clock_always_on", replace with "SLOPPY_IDLE" 2019-06-28 14:24:56 -07:00
timer.c linker generated list: provide an iterator to simplify list access 2019-06-06 14:21:32 -07:00
userspace_handler.c all: Update reserved function names 2019-03-11 13:48:42 -04:00
userspace.c cleanup: include/: move misc/rb.h to sys/rb.h 2019-06-27 22:55:49 -04:00
version.c doc: add kernel version API to doxygen 2018-12-08 17:24:53 -05:00
work_q.c kernel: Fix usage of CONFIG_SYS_CLOCK_EXISTS 2019-05-15 10:44:59 +02:00