From: Laurent MAZET Date: Wed, 3 Dec 2025 09:51:35 +0000 (+0100) Subject: robustness X-Git-Url: https://secure.softndesign.org/git/?a=commitdiff_plain;h=c7a81f8d2d88f3aaf4f2f1c9b59d4eb3c66752e0;p=benchmarks.git robustness --- diff --git a/test.sh b/test.sh index aa64869..69e980f 100755 --- a/test.sh +++ b/test.sh @@ -28,6 +28,7 @@ run() { echo "CPU load: $load% ($lcpu/$nbcpu)" | tee -a $name.log { ./$exe -d 1 -k $dcore -m $mode -n $nbtests -s -o $name.dat | tee -a $name.log; \ kill -2 $(ps -e | awk '/[l]oad/ || /[s]leep/ { print $1 }') 2>/dev/null; } & + which taskset && which chrt && \ { sleep 2; check $exe | tee -a $name.log; } & ./load -r -1 -n $lcpu >/dev/null echo "Cleaning..."