This commit is contained in:
Eugen Betke 2018-10-24 11:10:57 +02:00
commit 595ff8fd79
1 changed files with 15 additions and 0 deletions

15
tool_estimate_time_remains.sh Executable file
View File

@ -0,0 +1,15 @@
#!/bin/bash
API_ARR=( "POSIX" "MPIIO" )
NN_ARR=( 4 2 1 8 16)
PPN_ARR=( 8 6 4 2 1 )
T_ARR=( $((10*1024*1024)) $((1*1024*1024)) $((100*1024)) $((16*1024)) )
done="$(find output -type f | wc -l)"
todo=$((${#API_ARR[@]} * ${#NN_ARR[@]} * ${#PPN_ARR[@]} * ${#T_ARR[@]}))
remains=$(($todo - $done))
echo "$(($remains * 2 * 6 / 60)) h"