]> git.proxmox.com Git - ceph.git/blob - ceph/src/dmclock/benchmark/run.sh
add subtree-ish sources for 12.0.3
[ceph.git] / ceph / src / dmclock / benchmark / run.sh
1 #!/bin/bash
2
3 # default value
4 k_way=3 #11
5 repeat=2 #5
6
7 output_file=""
8 if [ "$1" != "" ]; then
9 output_file="$1"
10 else
11 echo "Please provide the name of the output file"
12 exit
13 fi
14
15 echo "generating file ${output_file}"
16 sh data_gen.sh ${output_file} ${k_way} ${repeat}
17
18 echo "converting ${output_file} to ${output_file}.dat"
19 python data_parser.py ${output_file}
20
21 echo "now generating bar-chart"
22 #gnuplot -e 'output_file=value' plot_gen.gnuplot
23 sh plot_gen.sh ${output_file} ${k_way}
24 echo "done! check ${output_file}.pdf"