fio2gnuplot: Adding sample files
[fio.git] / tools / plot / samples / Makefile
diff --git a/tools/plot/samples/Makefile b/tools/plot/samples/Makefile
new file mode 100644 (file)
index 0000000..df0480f
--- /dev/null
@@ -0,0 +1,19 @@
+all: clean m2sw1-128k-sdb-randwrite-para.results_bw.log io bandwidth
+
+m2sw1-128k-sdb-randwrite-para.results_bw.log:
+       tar -xf fio-logs.tar.gz
+
+io: setup
+       ./fio2gnuplot.py -p 'm2sw1-128k-*-read-para*iops.log' -g
+
+bandwidth: setup
+       ./fio2gnuplot.py -p 'm2sw1-128k-*-read-para*bw.log' -g
+
+setup:
+       ln -sf ../*py ../*gpm .
+
+clean:
+       rm -rf *png mygraph mymath *py *gpm gnuplot_temp_file* *~
+       rm -rf *.average *.stddev *.min *.max *.global
+       rm -rf m2sw1-128k-read-para-bw m2sw1-128k-read-para-iops
+       rm -rf *log