Skip to content

Commit

Permalink
more timing info
Browse files Browse the repository at this point in the history
  • Loading branch information
srikash committed Jul 6, 2023
1 parent fe0a5c1 commit 32d9d7e
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion surf_laynii
Original file line number Diff line number Diff line change
Expand Up @@ -355,11 +355,16 @@ for ((i = 0; i < ${#boundary_surfs[@]}; i++)); do

if [[ ! -f "$output_file" ]]; then
# Run mris_fill command
start_time=$(date +%s)
mris_fill \
-t "$brain_finalsurfs_upsampled" \
-r "$newvox" \
"$input_file" \
"$output_file" >/dev/null 2>&1
echo " -> Generated "$output_file""
end_time=$(date +%s)
echo " Finished in $((end_time - start_time)) seconds"

fi
done

Expand Down Expand Up @@ -474,6 +479,6 @@ echo " Finished in $((end_time - start_time)) seconds"

echo " "
echo "--------------------------------------------------------"
echo " Finished in $((end_time - start_time0)) seconds "
echo " surf_laynii finished in $((end_time - start_time0)) seconds "
echo "--------------------------------------------------------"
echo " "

0 comments on commit 32d9d7e

Please sign in to comment.