zephyr/tests/benchmarks
Yong Cong Sin 59e41ef830 tests: latency_measure: reduce the chance of cycles underflow
Sometimes there's an unusually large cycles for tests that are
known to complete with just a few cycles. Upon some testing,
I found that it was because the overhead cycles was larger
than the cycles taken by tests, causing the cycles to
underflow.

To workaround that, make sure that the overhead measurement
thread runs uninterrupted, repeat the measurement for a few
times, and take the minimum value.

Signed-off-by: Yong Cong Sin <ycsin@meta.com>
Signed-off-by: Yong Cong Sin <yongcong.sin@gmail.com>
2024-10-08 18:10:11 -04:00
..
app_kernel build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
cmsis_dsp hwmv2: Introduce Hardware model version 2 and convert devices 2024-03-02 16:56:33 -05:00
data_structure_perf
footprints build: namespace the generated headers with zephyr/ 2024-05-28 22:03:55 +02:00
latency_measure tests: latency_measure: reduce the chance of cycles underflow 2024-10-08 18:10:11 -04:00
mbedtls modules: mbedtls: rename CONFIG_MBEDTLS_MAC_*_ENABLED and rm duplicates 2024-05-29 08:39:26 +02:00
sched tests: Use z_pend_curr() in sched benchmark 2024-03-07 11:51:06 -05:00
sched_queues tests: scheduler queue benchmarks 2024-10-07 20:16:20 -04:00
sched_userspace
sys_kernel
wait_queues tests: wait queue benchmarks 2024-10-07 20:16:20 -04:00