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
- PLOT_LINE=$PLOT_LINE"'$i' with lines"
+ PLOT_LINE=$PLOT_LINE"'$i' title '$PT' with lines"
done
if [ "$PLOT_LINE"x != "x" ]; then
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
- PLOT_LINE=$PLOT_LINE"'$i' with lines"
+ PLOT_LINE=$PLOT_LINE"'$i' title '$PT' with lines"
done
if [ "$PLOT_LINE"x != "x" ]; then
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
- PLOT_LINE=$PLOT_LINE"'$i' with lines"
+ PLOT_LINE=$PLOT_LINE"'$i' title '$PT' with lines"
done
if [ "$PLOT_LINE"x != "x" ]; then
{
char file_name[256];
- snprintf(file_name, 200, "client%d_%s.log", td->thread_number, name);
+ snprintf(file_name, 200, "%s_%s.log", td->o.name, name);
__finish_log(log, file_name);
}