fix: divide result by the number of passes done

This commit is contained in:
Alessandre Laguierce 2025-03-23 20:19:06 +01:00
parent f542af82d1
commit 0527449ed3

View File

@ -81,6 +81,7 @@ number_argument() {
executed=$(bc -l <<< "scale=0;$value*100000/1")
time_pthread=$((time_pthread+executed))
done
time_own=$((time_own/NB_PASS))
time_pthread=$((time_pthread/NB_PASS))
echo "$thread, $time_own, $time_pthread"
done