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>
30 lines
601 B
YAML
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
|