Skip to content

Commit

Permalink
#101 show time too
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed Oct 6, 2023
1 parent 79b0418 commit 81f95a9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion steps/measure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ touch "${jobs}"
declare -i file=0
sh="$(dirname "$0")/measure-file.sh"
echo "${javas}" | while IFS= read -r java; do
pstart=$(date +%s%N)
file=$((file+1))
rel=$(realpath --relative-to="${TARGET}/github" "${java}")
javam=${TARGET}/measurements/${rel}.m
Expand All @@ -48,7 +49,7 @@ echo "${javas}" | while IFS= read -r java; do
fi
printf "%s %s %s %s %s\n" "${sh@Q}" "${java@Q}" "${javam@Q}" "${file@Q}" "${total@Q}" >> "${jobs}"
if [ "${file: -4}" = '0000' ]; then
echo "Prepared ${file} jobs out of ${total}..."
echo "Prepared ${file} jobs out of ${total}$("${LOCAL}/help/tdiff.sh" "${pstart}")..."
fi
done

Expand Down

0 comments on commit 81f95a9

Please sign in to comment.