Skip to content

Commit

Permalink
tests: Add objcore to latency_measure testcase.yaml
Browse files Browse the repository at this point in the history
Adds the object core configuration to the latency_measure benchmark's
testcase.yaml file as there have been requests for it.

(cherry picked from commit 41064c8)

Original-Signed-off-by: Peter Mitsis <peter.mitsis@intel.com>
GitOrigin-RevId: 41064c8
Cr-Build-Id: 8731843854160875777
Cr-Build-Url: https://cr-buildbucket.appspot.com/build/8731843854160875777
Copybot-Job-Name: zephyr-main-copybot-downstream
Change-Id: I835ac460347dda6073516f87753c927903b4628d
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/zephyr/+/6004814
Tested-by: ChromeOS Prod (Robot) <chromeos-ci-prod@chromeos-bot.iam.gserviceaccount.com>
Reviewed-by: Yuval Peress <peress@google.com>
Tested-by: Yuval Peress <peress@google.com>
Commit-Queue: Yuval Peress <peress@google.com>
  • Loading branch information
peter-mitsis authored and Chromeos LUCI committed Nov 8, 2024
1 parent f5aed0a commit 7d8b853
Showing 1 changed file with 22 additions and 0 deletions.
22 changes: 22 additions & 0 deletions tests/benchmarks/latency_measure/testcase.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -54,3 +54,25 @@ tests:
regex: "(?P<metric>.*) - (?P<description>.*):(?P<cycles>.*) cycles ,(?P<nanoseconds>.*) ns"
regex:
- "PROJECT EXECUTION SUCCESSFUL"

benchmark.kernel.latency.objcore:
# 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
timeout: 300
extra_configs:
- CONFIG_OBJ_CORE=y
- CONFIG_OBJ_CORE_STATS=y
harness: console
integration_platforms:
- qemu_x86
- qemu_arc/qemu_arc_em
- qemu_riscv64/qemu_virt_riscv64/smp
harness_config:
type: one_line
record:
regex: "(?P<metric>.*) - (?P<description>.*):(?P<cycles>.*) cycles ,(?P<nanoseconds>.*) ns"
regex:
- "PROJECT EXECUTION SUCCESSFUL"

0 comments on commit 7d8b853

Please sign in to comment.