From 8cf3be1c8a2723a25f894ed117ef24648051f441 Mon Sep 17 00:00:00 2001 From: Andrea Bondavalli Date: Mon, 6 Dec 2021 12:13:19 +0100 Subject: [PATCH] run_latency_test.sh script executes latency application with higher priority --- run_latency_test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/run_latency_test.sh b/run_latency_test.sh index aefec0c..89628a6 100755 --- a/run_latency_test.sh +++ b/run_latency_test.sh @@ -131,7 +131,7 @@ sleep 30 echo "Running 10 secs latency test" cd test -./latency -P hw:RAVENNA -C hw:RAVENNA -f $SAMPLE_FORMAT -r $SAMPLE_RATE -c $CHANNELS -M 128 -m 128 -s $DURATION +sudo nice -n -10 ./latency -P hw:RAVENNA -C hw:RAVENNA -f $SAMPLE_FORMAT -r $SAMPLE_RATE -c $CHANNELS -M 128 -m 128 -s $DURATION cd .. echo "Terminating processes ..."