zephyr/tests
Nicolas Pitre b60cb9cc80 tests: kernel: timer_behavior: improve timer_tick_train output
Print the "perfect" reference period for easier evaluation.
Suggest a remedy to the missed ticks problem.

Still, that wasn't satisfactory. Implemented a count of missed ticks
to get to the bottom of this issue. Found that missed ticks always came
to a perfect count of 40.

Incidentally, the busy loop prints a line every 250 ms and the test spans
10 seconds. There are no such coincidences.

Turns out that CONFIG_PRINTK_SYNC was set by default. This disables IRQs
for the serial output duration, which can be quite long at 115200 bauds.
Given a 60-ish character line length, this represents more than 5 ms of
no IRQ servicing during a timer latency measurement test which is bad.
So make sure CONFIG_PRINTK_SYNC=n for proper statistics.

Signed-off-by: Nicolas Pitre <npitre@baylibre.com>
2023-02-19 20:34:37 -05:00
..
application_development tests: code_relocation: Add additional test cases for library and genex 2023-01-17 18:08:37 +01:00
arch tests: move arm_mpu_regions into tests/arch/ 2023-02-06 10:06:10 +01:00
benchmarks tests: use namespacing in extra_configs and drop duplicated scenarios 2023-01-13 09:42:59 +01:00
bluetooth tests: Bluetooth: reproduce gatt settings bug 2023-02-16 00:21:07 +09:00
boards tests: intel_adsp: ssp: fix dma data sizes 2023-02-07 01:23:01 -08:00
boot yamllint: indentation: fix files in tests/ 2023-01-04 14:23:53 +01:00
cmake yamllint: fix all yamllint line-length errors 2023-01-04 01:16:45 +09:00
crypto tests: Align zephyr,psa-crypto-rng node names with those used by SoCs 2023-02-07 14:26:18 +01:00
drivers tests: drivers: nrf_rtc_timer: Add a test case to check rescheduling 2023-02-14 08:28:28 +01:00
kernel tests: kernel: timer_behavior: improve timer_tick_train output 2023-02-19 20:34:37 -05:00
lib tests: lib: thrift: add tests for the thrift module 2023-02-09 20:30:21 +09:00
misc tests: move arm_mpu_regions into tests/arch/ 2023-02-06 10:06:10 +01:00
net net: ieee802154: 6lo: Add test case for IPHC fragmentation corner case 2023-02-19 20:33:36 -05:00
posix tests: posix: headers: Add min_ram to fix nucleo_f103rb compilation error 2023-02-06 10:06:45 +01:00
subsys tests: fixes logging.add.async build warning 2023-02-13 11:22:36 +01:00
unit tests: fix various test identifiers 2023-02-06 10:06:10 +01:00
ztest treewide: Update deprecated CONFIG_LIB_CPLUSPLUS usages 2023-01-13 17:42:55 -05:00