zephyr/tests/benchmarks/wait_queues/testcase.yaml
Dmitrii Golovanov 33a91daf3b tests: benchmarks: wait_queues: Record metrics
Enhance the wait_queue benchmark to output resulting summary
metrics as records, so when it runs with Twister the results
are parsed and saved into twister.json and recording.csv files
for further analysis.
Minor documentation edits and make ClangFormat happy.

Signed-off-by: Dmitrii Golovanov <dmitrii.golovanov@intel.com>
2024-12-20 08:33:14 +01:00

30 lines
601 B
YAML

common:
platform_key:
- arch
tags:
- kernel
- benchmark
integration_platforms:
- qemu_x86
- qemu_cortex_a53
timeout: 120
harness: console
harness_config:
type: one_line
regex:
- "PROJECT EXECUTION SUCCESSFUL"
record:
regex:
"REC: (?P<metric>.*) - (?P<description>.*):(?P<cycles>.*) cycles ,(?P<nanoseconds>.*) ns"
extra_configs:
- CONFIG_BENCHMARK_RECORDING=y
tests:
benchmark.wait_queues.dumb:
extra_configs:
- CONFIG_WAITQ_DUMB=y
benchmark.wait_queues.scalable:
extra_configs:
- CONFIG_WAITQ_SCALABLE=y