Created
December 5, 2019 07:24
-
-
Save gusugusu1018/7358cc4a89a2e400afe3f9ed5f10c6dc to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
IMAGE=$1 | |
start_time=`date +%s%N` | |
OUTPUT=`./runner.out ${IMAGE}` | |
end_time=`date +%s%N` | |
run_time=`echo "scale=3; (${end_time} - ${start_time})/1000000000" | bc` | |
echo "${OUTPUT},${run_time}sec" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment