projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix problem with --section matching
[fio.git]
/
fio_generate_plots
diff --git
a/fio_generate_plots
b/fio_generate_plots
index 4ae1d0affe6cb52260bbe0706939112aeab70aa9..4e2cb08e1045a75a83a8d5a88c7113a2a3153136 100755
(executable)
--- a/
fio_generate_plots
+++ b/
fio_generate_plots
@@
-20,16
+20,17
@@
for i in *bw.log; do
if [ ! -r $i ]; then
continue
fi
if [ ! -r $i ]; then
continue
fi
+ PT=$(echo $i | sed s/_bw.log//g)
if [ "$PLOT_LINE"x != "x" ]; then
PLOT_LINE=$PLOT_LINE", "
fi
if [ "$PLOT_LINE"x != "x" ]; then
PLOT_LINE=$PLOT_LINE", "
fi
- PLOT_LINE=$PLOT_LINE"'$i' with lines"
+ PLOT_LINE=$PLOT_LINE"'$i'
title '$PT'
with lines"
done
if [ "$PLOT_LINE"x != "x" ]; then
echo Making bw logs
done
if [ "$PLOT_LINE"x != "x" ]; then
echo Making bw logs
- echo "set title 'Bandwidth - $TITLE'; set xlabel 'time (msec)'; set ylabel 'K
i
B/sec'; set terminal png; set output '$TITLE-bw.png'; plot " $PLOT_LINE | $GNUPLOT -
+ echo "set title 'Bandwidth - $TITLE'; set xlabel 'time (msec)'; set ylabel 'KB/sec'; set terminal png; set output '$TITLE-bw.png'; plot " $PLOT_LINE | $GNUPLOT -
fi
PLOT_LINE=""
fi
PLOT_LINE=""
@@
-37,11
+38,12
@@
for i in *slat.log; do
if [ ! -r $i ]; then
continue
fi
if [ ! -r $i ]; then
continue
fi
+ PT=$(echo $i | sed s/_slat.log//g)
if [ "$PLOT_LINE"x != "x" ]; then
PLOT_LINE=$PLOT_LINE", "
fi
if [ "$PLOT_LINE"x != "x" ]; then
PLOT_LINE=$PLOT_LINE", "
fi
- PLOT_LINE=$PLOT_LINE"'$i' with lines"
+ PLOT_LINE=$PLOT_LINE"'$i'
title '$PT'
with lines"
done
if [ "$PLOT_LINE"x != "x" ]; then
done
if [ "$PLOT_LINE"x != "x" ]; then
@@
-54,11
+56,12
@@
for i in *clat.log; do
if [ ! -r $i ]; then
continue
fi
if [ ! -r $i ]; then
continue
fi
+ PT=$(echo $i | sed s/_clat.log//g)
if [ "$PLOT_LINE"x != "x" ]; then
PLOT_LINE=$PLOT_LINE", "
fi
if [ "$PLOT_LINE"x != "x" ]; then
PLOT_LINE=$PLOT_LINE", "
fi
- PLOT_LINE=$PLOT_LINE"'$i' with lines"
+ PLOT_LINE=$PLOT_LINE"'$i'
title '$PT'
with lines"
done
if [ "$PLOT_LINE"x != "x" ]; then
done
if [ "$PLOT_LINE"x != "x" ]; then