fix: divide result by the number of passes done
This commit is contained in:
parent
f542af82d1
commit
0527449ed3
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user