aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurent Alfonsi <laurent.alfonsi@linaro.org>2022-06-10 10:05:56 +0200
committerLaurent Alfonsi <laurent.alfonsi@linaro.org>2022-06-10 11:15:26 +0200
commitdb6cb1cbde50f8175c1b0682bd3258d4e36b844b (patch)
tree7836377f69f5e9a863e7e5a7372314f5336493b0
parentc8b3d96a9b653671fd6d6ebdc3312269293d8aa3 (diff)
run.sh: Reduce perf cycles period for FX and SQ
But when the run is quite short, sometimes perf looses the elf file. My interpretation is that perf doesn't have any sampling in the main elf file. If I decrease the $perf_cycles_period, it seems to fix the pb (or at least less frequent) May need a smarter fix Change-Id: I3056e7d6fc4b64b1df158870729cddadfd55d5e7
-rwxr-xr-xrun.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/run.sh b/run.sh
index ab03d9b..64cbb36 100755
--- a/run.sh
+++ b/run.sh
@@ -313,11 +313,11 @@ case "$hw_tag" in
sq_*)
# SynQuacers run at 1GHz, but they have no cpufreq driver, so we
# can't query core frequency.
- perf_cycles_period="100000000"
+ perf_cycles_period="10000000"
;;
fx_*)
# FX700 runs at 2GHz
- perf_cycles_period="200000000"
+ perf_cycles_period="20000000"
;;
esac