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
cmsis_dsp
data_structure_perf
footprints
latency_measure tests: latency_measure: reduce the chance of cycles underflow 2024-10-08 18:10:11 -04:00
mbedtls
sched
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