Skip to content

Commit 5b97285

Browse files
committed
Yaml file for Geekbench single-core
Signed-off-by: Srikanth Muppandam <smuppand@qti.qualcomm.com>
1 parent 11826ae commit 5b97285

1 file changed

Lines changed: 54 additions & 0 deletions

File tree

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
metadata:
2+
name: geekbench-cpu-single
3+
format: "Lava-Test Test Definition 1.0"
4+
description: >
5+
Geekbench 6 CPU single-core only run (single-thread workloads) with live progress,
6+
per-iteration logs and CSV dumps.
7+
os:
8+
- linux
9+
scope:
10+
- performance
11+
- functional
12+
13+
params:
14+
OUT_DIR: "./logs_Geekbench_Single"
15+
RUNS: "1"
16+
HEARTBEAT_SECS: "15"
17+
CORE_LIST: ""
18+
SET_PERF_GOV: "1"
19+
GEEKBENCH_BIN: "geekbench_aarch64"
20+
21+
NO_UPLOAD: "1"
22+
UPLOAD: "0"
23+
24+
# Geekbench internal options
25+
GB_ITERATIONS: "" # geekbench --iterations (internal)
26+
WORKLOAD_GAP: "" # ms
27+
28+
# Export options (optional)
29+
EXPORT_TEXT_FILE: "" # if set, geekbench will write it too (script will still parse logs)
30+
31+
EXTRA_ARGS: ""
32+
STANDALONE: "0"
33+
34+
run:
35+
steps:
36+
- REPO_PATH=$PWD
37+
- cd Runner/suites/Performance/Geekbench/ || exit 0
38+
- ./run.sh \
39+
--outdir "$OUT_DIR" \
40+
--runs "$RUNS" \
41+
--core-list "${CORE_LIST:-}" \
42+
--bin "$GEEKBENCH_BIN" \
43+
--progress-heartbeat "$HEARTBEAT_SECS" \
44+
$( [ "$SET_PERF_GOV" = "1" ] && true || echo --no-perf-gov ) \
45+
$( [ "$NO_UPLOAD" = "1" ] && echo --no-upload || true ) \
46+
$( [ "$UPLOAD" = "1" ] && echo --upload || true ) \
47+
--cpu \
48+
--single-core \
49+
$( [ -n "$GB_ITERATIONS" ] && echo --iterations "$GB_ITERATIONS" || true ) \
50+
$( [ -n "$WORKLOAD_GAP" ] && echo --workload-gap "$WORKLOAD_GAP" || true ) \
51+
$( [ -n "$EXPORT_TEXT_FILE" ] && echo --export-text "$EXPORT_TEXT_FILE" || true ) \
52+
-- ${EXTRA_ARGS:-} \
53+
|| true
54+
- $REPO_PATH/Runner/utils/send-to-lava.sh Geekbench.res

0 commit comments

Comments
 (0)