summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWilliam Ahern <[email protected]>2016-02-22 19:55:33 -0800
committerWilliam Ahern <[email protected]>2016-02-22 19:55:33 -0800
commit6f9379e9ffccb465d0e19db97011bf8568fd4999 (patch)
tree295917c96f46bd47f3c1e964d5987ec6585a82e4
parent89826bc26e2e48143125960fe4c8eab3aa096f82 (diff)
output graphs to stdout by default
-rw-r--r--Makefile6
-rw-r--r--bench.plt1
2 files changed, 5 insertions, 2 deletions
diff --git a/Makefile b/Makefile
index 36a2422..6b1d9a8 100644
--- a/Makefile
+++ b/Makefile
@@ -87,7 +87,11 @@ bench-%.so: bench-%.c timeout.h
bench.eps: bench.plt $(foreach OP, add del expire, wheel-$(OP).dat heap-$(OP).dat)
- gnuplot bench.plt
+ gnuplot bench.plt > [email protected]
+
+bench.pdf: bench.eps
+ ps2pdf $< $@
.PHONY: clean clean~
diff --git a/bench.plt b/bench.plt
index d42b87d..6e143c6 100644
--- a/bench.plt
+++ b/bench.plt
@@ -1,5 +1,4 @@
set terminal postscript color
-set output "bench.eps"
set key top left
set xlabel "Number of timeouts"