[Sumover-dev] [svn commit] r4639 - vic/branches/cc/cc

sumover-dev at cs.ucl.ac.uk sumover-dev at cs.ucl.ac.uk
Tue Feb 23 16:16:50 GMT 2010


Author: soohyunc
Date: Tue Feb 23 16:16:49 2010
New Revision: 4639

Modified:
   vic/branches/cc/cc/o.sh
   vic/branches/cc/cc/seqno.sh

Log:
grep cwnd and ALI information from the trace file and plot those graphs.



Modified: vic/branches/cc/cc/o.sh
==============================================================================
--- vic/branches/cc/cc/o.sh	(original)
+++ vic/branches/cc/cc/o.sh	Tue Feb 23 16:16:49 2010
@@ -25,3 +25,9 @@
 
 # incoming XR
 grep incomingXR trace.s | awk '{print $3" "100}' > inXR.xg
+
+# cwnd
+grep cwnd trace.s | awk '{print $2" "$4}' > cwnd.xg
+
+# ALI
+grep ALI trace.s | awk '{print $2" "$4}' > ALI.xg

Modified: vic/branches/cc/cc/seqno.sh
==============================================================================
--- vic/branches/cc/cc/seqno.sh	(original)
+++ vic/branches/cc/cc/seqno.sh	Tue Feb 23 16:16:49 2010
@@ -62,3 +62,35 @@
 "grt.xg" with lines lt 1 lc 3 title "grabbing time"
 
 EOF
+
+gnuplot -persist << EOF
+set terminal postscript eps enhanced color
+set output "cwnd.eps"
+
+set title "cwnd"
+set xlabel "vic run time (sec)"
+set ylabel "cwnd"
+
+set mxtics 5
+set mytics 2
+set xrange [$1:$2]
+set grid xtics ytics mytics
+
+plot "cwnd.xg" w lp lc 3 pt 4 ps .4 title "cwnd"
+EOF
+
+gnuplot -persist << EOF
+set terminal postscript eps enhanced color
+set output "ALI.eps"
+
+set title "average loss interval"
+set xlabel "vic run time (sec)"
+set ylabel "ALI"
+
+set mxtics 5
+set mytics 2
+set xrange [$1:$2]
+set grid xtics ytics mytics
+
+plot "ALI.xg" w lp lc 1 pt 5 ps .4 title "ALI"
+EOF



More information about the Sumover-dev mailing list