zephyr/tests/kernel
Tom Burdick 2666702cd1 tests: Tick rate testing with timer train
Test timers with a train of one tick timers to test that
a configured SYS_CLOCK_TICKS_PER_SEC is sensible. If the TICKS_PER_SEC
is too high the timer train will take longer than expected to reach
the station. Worse, if the timer driver has too short of a minimum
delay for its processing power and the tick rate is too high its
possible the device will get caught in an interrupt loop
preventing any threads from running while processing timers.

This test validates that the tick rate configured is actually able to be
processed without delays while also having work done in threads ensuring
that no thread scheduling delays occur either from delayed timers or an
interrupt loop from preventing threads from running.

Signed-off-by: Tom Burdick <thomas.burdick@intel.com>
2022-10-12 20:42:22 -04:00
..
common tests: kernel/common: IRQ offload test if CONFIG_IRQ_OFFLOAD=y 2022-10-08 18:33:14 +02:00
condvar/condvar_api test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
context tests/kernel/context: don't do print in time-critical section 2022-10-11 11:11:45 +02:00
device ztest: improve some tests 2022-09-09 07:05:38 -04:00
early_sleep tests: kernel: early_sleep: move to new ztest API 2022-08-23 20:57:04 -04:00
events ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
fatal includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
fifo ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
fpu_sharing ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
gen_isr_table Revert "tests: kernel: gen_isr_table: Disable RISC-V direct ISR test" 2022-09-08 10:39:31 +02:00
interrupt Revert "tests: kernel: interrupt: Disable on ARM64 QEMU targets" 2022-09-23 12:10:25 +02:00
lifo ztest: improve some tests 2022-09-09 07:05:38 -04:00
mbox ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
mem_heap ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
mem_protect tests: mem_protect: sys_sem: move a test case to new ztest API 2022-09-22 16:42:51 +00:00
mem_slab ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
mp tests: kernel: move the multiprocessing test to new ztest 2022-08-11 12:19:59 +02:00
msgq ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
mutex tests: kernel: mutex: test for lock timeout race 2022-09-30 09:45:37 +00:00
obj_tracking tests: Add CONFIG_PIPES to tests that use pipes 2022-08-17 19:31:25 +02:00
pending test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
pipe ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
poll ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
profiling/profiling_api test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00
queue ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
sched ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
semaphore tests/semaphore: fix "cpu test took too long" assertion failure 2022-09-28 07:53:56 +00:00
sleep includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
smp tests/kernel/smp: Correct parameter name 2022-09-19 09:19:02 +02:00
smp_boot_delay includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
spinlock includes: prefer <zephyr/kernel.h> over <zephyr/zephyr.h> 2022-09-05 16:31:47 +02:00
stack/stack ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
threads init: remove _SYS_INIT_LEVEL* definitions 2022-10-12 18:49:12 +09:00
tickless/tickless_concept tests: kernel: tickless: Don't run on nucleo_l073rz 2022-09-21 18:39:07 +00:00
timer tests: Tick rate testing with timer train 2022-10-12 20:42:22 -04:00
usage/thread_runtime_stats ztest: remove the obsolete NULL appended to zassert macros 2022-09-09 07:05:38 -04:00
workq tests: work_queue: initialize msg 2022-09-19 19:15:59 +00:00
xip test: fix more legacy #include paths 2022-08-02 16:41:41 +01:00