aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorJanne Peltonen <janne.peltonen@nokia.com>2023-12-21 13:34:18 +0200
committerMatias Elo <matias.elo@nokia.com>2024-01-12 16:16:58 +0200
commitd59f44ec12385614c2e3d4f55681c3e30be6e0b3 (patch)
tree5b7158795378ea5988571ad8bca9d1a46bd32b12 /test
parent2c860adeae3603cbaf605454f4a03ca23660b16a (diff)
test: performance: scheduling: speed up cpu freq test in make check
Reduce the duration of the CPU frequency measurement to 0.1 seconds in make check. Signed-off-by: Janne Peltonen <janne.peltonen@nokia.com> Reviewed-by: Tuomas Taipale <tuomas.taipale@nokia.com> Reviewed-by: Jere Leppänen <jere.leppanen@nokia.com>
Diffstat (limited to 'test')
-rwxr-xr-xtest/performance/odp_scheduling_run.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/performance/odp_scheduling_run.sh b/test/performance/odp_scheduling_run.sh
index 2b4281ee9..4e004264e 100755
--- a/test/performance/odp_scheduling_run.sh
+++ b/test/performance/odp_scheduling_run.sh
@@ -19,7 +19,7 @@ run()
if [ $(nproc) -lt $1 ]; then
echo "Not enough CPU cores. Skipping test."
else
- $TEST_DIR/odp_scheduling${EXEEXT} -c $1
+ $TEST_DIR/odp_scheduling${EXEEXT} -c $1 -t 0.1
RET_VAL=$?
if [ $RET_VAL -ne 0 ]; then
echo odp_scheduling FAILED