printf("Sent: %5d Received: %5d Lost: %5d Max: %8.3f ms",
stats.sent, stats.received, stats.lost, hist.max/1000.0);
if (final) {
- printf(" Packetloss: %7.3f %% 90%%: %8.3f ms\n",
+ printf(" Packetloss: %7.3f %% 95%%: %8.3f ms 99%%: %8.3f ms\n",
100.0*stats.lost/stats.sent,
- hist_get_percentile(&hist, 90)/1000.0);
+ hist_get_percentile(&hist, 95)/1000.0,
+ hist_get_percentile(&hist, 99)/1000.0);
}
else
printf("\r");
+set key top left
set xlabel "Number of simultaneous streams"
set ylabel "Time [ms]
set yrange [0:]
set grid
plot "./fwp-timing.dat" using 1:2 title "Maximal delay [ms]" with lp,\
- "./fwp-timing.dat" using 1:4 title "90% [ms]" with lp,\
+ "./fwp-timing.dat" using 1:4 title "95th percentile [ms]" with lp,\
+ "./fwp-timing.dat" using 1:5 title "99th percentile [ms]" with lp,\
"./fwp-timing.dat" using 1:3 title "Packet loss [%]" with lp axis x1y2