mirror of
https://github.com/Steffo99/unimore-hpc-assignments.git
synced 2024-11-22 16:14:24 +00:00
Hide insignificant digits in the bench
target
This commit is contained in:
parent
c104caa1a6
commit
9c153bb89f
1 changed files with 2 additions and 2 deletions
|
@ -7,8 +7,8 @@ for i in $(seq $runs)
|
|||
do
|
||||
exet=$(./atax_acc)
|
||||
totalt=$(awk "BEGIN{print $totalt+$exet}")
|
||||
echo " Run #$i: $exet seconds"
|
||||
echo "Run #$i: " $(awk "BEGIN{printf(\"%.3g\", $exet)}") "seconds"
|
||||
done
|
||||
|
||||
avgt=$(awk "BEGIN{print $totalt/$runs}")
|
||||
echo "Average: $avgt seconds"
|
||||
echo "Average: " $(awk "BEGIN{printf(\"%.3g\", $avgt)}") "seconds"
|
||||
|
|
Loading…
Reference in a new issue