diff --git a/OpenMP/linear-algebra/kernels/atax/.bench.sh b/OpenMP/linear-algebra/kernels/atax/.bench.sh index b79e6c0..5507133 100755 --- a/OpenMP/linear-algebra/kernels/atax/.bench.sh +++ b/OpenMP/linear-algebra/kernels/atax/.bench.sh @@ -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"