Update results and README
This commit is contained in:
@ -26,7 +26,9 @@ do
|
||||
CURRENT=9998
|
||||
BEFORE=9999
|
||||
RESULT_FILE="$RESULTS_FOLDER/$(basename $JOB_NAME)"
|
||||
printf "Result file: $(readlink -f $RESULT_FILE)\n"
|
||||
#printf "Result file: $(readlink -f $RESULT_FILE)\n"
|
||||
|
||||
# Keep scaling up until the runtime is slower than the previous result
|
||||
while [[ $(echo "$CURRENT < $BEFORE" | bc) -eq 1 ]]
|
||||
do
|
||||
BEFORE=$CURRENT
|
||||
@ -40,8 +42,13 @@ do
|
||||
done
|
||||
|
||||
# Display the results
|
||||
awk -v nproc="$NPROC" '{print NR*nproc, $0}' $RESULTS_FOLDER/*
|
||||
printf "nproc\tseconds\n"
|
||||
awk \
|
||||
-v nproc="$NPROC" \
|
||||
'{print NR*nproc, "\t", $0}' \
|
||||
$RESULTS_FOLDER/*
|
||||
|
||||
done
|
||||
|
||||
# Clean up
|
||||
rm -rf $RESULTS_FOLDER
|
||||
|
Reference in New Issue
Block a user