blob: 44894c71d225de41c4fbf15c0b14d6e47c60d3e2 [file] [log] [blame]
tests:
benchmark.kernel.latency:
arch_allow: x86 arm riscv32 riscv64
# FIXME: no DWT and no RTC_TIMER for qemu_cortex_m0
platform_exclude: qemu_cortex_m0 m2gl025_miv
filter: CONFIG_PRINTK and not CONFIG_SOC_FAMILY_STM32
tags: benchmark
harness: console
harness_config:
type: one_line
record:
regex: "(?P<metric>.*):(?P<cycles>.*) cycles ,(?P<nanoseconds>.*) ns"
regex:
- "PROJECT EXECUTION SUCCESSFUL"
# Cortex-M has 24bit systick, so default 1 TICK per seconds
# is achievable only if frequency is below 0x00FFFFFF (around 16MHz)
# 20 Ticks per secondes allows a frequency up to 335544300Hz (335MHz)
benchmark.kernel.latency.stm32:
filter: CONFIG_PRINTK and CONFIG_SOC_FAMILY_STM32
# FIXME: no DWT and no RTC_TIMER
platform_exclude: qemu_cortex_m0
tags: benchmark
extra_configs:
- CONFIG_SYS_CLOCK_TICKS_PER_SEC=20
harness: console
harness_config:
type: one_line
record:
regex: "(?P<metric>.*):(?P<cycles>.*) cycles ,(?P<nanoseconds>.*) ns"
regex:
- "PROJECT EXECUTION SUCCESSFUL"