This file describes the steps to perform a batch of measurements, then extract runtime data and generate speedup graphs with gnuplot. NB: this isn't a shell script, you need to cut and paste (and modify) the lines below > # start a batch of measurements in the background > sh runItBaldur.sh & > # once finished, extract the data like this (adjust "rows" to output generated by MatMultPM, or of your own program) > cat LOG | sed -ne '/PEs/H;/rows time/H;${G;p}' | sed -e 's/^.*PEs \([0-9]*\).*$/\1/;s/^rows.*= \([.0-9]*\).*$/\1/' | sed -ne '/^[.0-9]*$/{h;N;H;p}' | sed -e '/[.]/a\X' | sed ':a;N;$!ba;s/\n/ /g' | sed -e 's/X/\n/g' | sed '$d' | sort -n -k 1 >rt.dat > # download a gnuplot script for plotting the data > wget http://www.macs.hw.ac.uk/~hwloidl/Courses/F21DP/speedups.gp > # edit speedups, setting seq runtime and x-/y-ranges > gnuplot speedups.gp > gv speedups.pdf