Blame view
utils/plot_results_para_size.sh
591 Bytes
89f70c1ec import current mc... |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 |
#!/bin/bash if [ $# -ne 1 -o ! -d "$1" ]; then echo "Usage: $0 <results directory>" exit 1 fi RESULTS="$1" PLOT_DIR="$(pwd)" cd $RESULTS for f in results_gpu6.txt results_gpu7.txt; do mv -v $f $f.old grep -v PacketSize $f.old > $f done echo "Plotting performances for $RESULTS" gnuplot $PLOT_DIR/mior_perfs_para_size.plt #for model in cpu gpu2 gpu3 gpu4 gpu5; do # for scale in $(seq 1 30); do # input="data_${model}_${scale}.txt" # echo "Plotting results for $input" # gnuplot -e "call \"$PLOT_DIR/mior.plt\" \"$input\" \"${model}_${scale}\"" # done |