]> git.llucax.com Git - software/dgc/dgcbench.git/blob - p.sh
Create time/pause sub-directories in ./build
[software/dgc/dgcbench.git] / p.sh
1 #!/bin/sh
2
3 for CPUS in 1 2 4; do
4         for name in `echo ./micro/*.d | xargs -n1 sh -c 'basename $0 .d'` dil
5         do
6                 dst=../informe/source/plots/mem-$name-${CPUS}cpu.pdf
7                 src=./results/to-plot/collect-mem-$name-${CPUS}cpu.csv
8                 echo "   PLOT $dst"
9                 cp "$src" /tmp/input.csv &&
10                         gnuplot p.gpi &&
11                         epstopdf /tmp/output.eps &&
12                         mv /tmp/output.pdf "$dst"
13         done
14 done
15