zephyr/tests/kernel
Nicolas Pitre 4cc21e2f4a tests: timer_behavior: accuracy improvements
Don't sample the first entry outside the timer as this is a different
code path which produces a different offset from the clock tick.

Use sys_clock_hw_cycles_per_sec() to be compatible with systems that
read their hardware clock frequency at run time.

Perform cycle difference computations with uint64_t. If ever the
magnitude of the absolute clock cycle values is greater than 52 bits
then the cast to a double will actually lose accuracy.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2023-03-02 21:14:52 +01:00
..
cache tests: cache: Add cache test 2022-12-01 13:40:56 -05:00
common ARC: MWDT add TLS support 2022-11-29 09:48:23 +01:00
condvar/condvar_api yamllint: fix all yamllint truthy errors 2023-01-04 01:16:45 +09:00
context tests: kernel: Provide more stack space for context test 2023-01-26 10:04:33 +00:00
device ztest: improve some tests 2022-09-09 07:05:38 -04:00
early_sleep tests: kernel: cleanup test meta-data 2022-11-04 22:13:54 -04:00
events yamllint: fix all yamllint truthy errors 2023-01-04 01:16:45 +09:00
fatal tests: kernel: print FAILED when wrong faults caught 2023-02-21 18:06:44 -05:00
fifo tests: kernel: fifo_timeout: Do not print status messages during tests 2022-12-05 13:38:16 +01:00
fpu_sharing tests: Fix floating point test variants on x86 w/LLVM 2023-02-21 08:25:38 -05:00
gen_isr_table tests: kernel: cleanup test meta-data 2022-11-04 22:13:54 -04:00
interrupt tests: kernel: interrupt: workaround qemu_x86 interrupt issue 2023-02-21 16:17:20 -05:00
lifo tests: kernel: cleanup test meta-data 2022-11-04 22:13:54 -04:00
mbox tests: kernel: cleanup test meta-data 2022-11-04 22:13:54 -04:00
mem_heap boards: mps2_an521: clean up memory map 2023-02-19 20:55:47 -05:00
mem_protect tests: kernel: print FAILED when wrong faults caught 2023-02-21 18:06:44 -05:00
mem_slab tests/samples: use integration_plaforms in more tests/samples 2022-11-29 16:03:23 +01:00
mp tests: kernel: cleanup test meta-data 2022-11-04 22:13:54 -04:00
msgq tests: kernel: cleanup test meta-data 2022-11-04 22:13:54 -04:00
mutex tests: use ignore_fault field instead of tags 2022-11-25 06:38:05 -05:00
obj_tracking tests: kernel: Add events to object tracking 2023-02-02 20:21:12 +09:00
pending tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
pipe tests: kernel: print FAILED when wrong faults caught 2023-02-21 18:06:44 -05:00
poll tests: use ignore_fault field instead of tags 2022-11-25 06:38:05 -05:00
profiling/profiling_api
queue tests: use ignore_fault field instead of tags 2022-11-25 06:38:05 -05:00
sched renode: Add Renode overlays for selected tests 2023-01-25 14:02:29 -08:00
semaphore tests: use ignore_fault field instead of tags 2022-11-25 06:38:05 -05:00
sleep tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
smp tests: kernel: print FAILED when wrong faults caught 2023-02-21 18:06:44 -05:00
smp_boot_delay tests/samples: use integration_plaforms in more tests/samples 2022-11-29 16:03:23 +01:00
spinlock tests: spin lock timeout test spin time 2022-12-14 13:44:36 -06:00
stack/stack tests: use ignore_fault field instead of tags 2022-11-25 06:38:05 -05:00
threads samples and tests: Add REQUIRED to Zephyr find_package call 2023-03-02 09:58:27 +01:00
tickless/tickless_concept tests: move to using CONFIG_MP_MAX_NUM_CPUS 2022-10-20 22:04:10 +09:00
timer tests: timer_behavior: accuracy improvements 2023-03-02 21:14:52 +01:00
usage/thread_runtime_stats renode: Add Renode overlays for selected tests 2023-01-25 14:02:29 -08:00
workq yamllint: indentation: fix files in tests/ 2023-01-04 14:23:53 +01:00
xip tests: kernel: cleanup test meta-data 2022-11-04 22:13:54 -04:00