for exe in *.exe; do
test=$(echo $exe | sed 's/\.exe//')
name=$test-${dcore}k-${load}%-m${mode}
+ [ -f $name.log ] && { echo "skip test $*"; continue; }
echo -e "\033[0;1mTest $test\033[0;0m"
date | tee $name.log
./getinfo.sh | tee -a $name.log
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; \
+ { ./$exe -d 1 -p 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 >&/dev/null && which chrt >&/dev/null && \
{ sleep 2; check $exe | tee -a $name.log; } &