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

sumover-dev at cs.ucl.ac.uk sumover-dev at cs.ucl.ac.uk
Mon Mar 15 03:04:41 GMT 2010


Author: soohyunc
Date: Mon Mar 15 03:04:41 2010
New Revision: 4694

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

Log:
-- modified graph-ing script
   including Tx queue length and cwnd in a single graph
             



Modified: vic/branches/cc/cc/o.sh
==============================================================================
--- vic/branches/cc/cc/o.sh	(original)
+++ vic/branches/cc/cc/o.sh	Mon Mar 15 03:04:41 2010
@@ -36,3 +36,6 @@
 grep drop trace.s | awk '{print $2" "$4}' > drop.tr
 cc/tools/asv drop drop.tr
 rm drop.tr
+
+# tx queue len
+grep txq_end trace.s | awk '{print $2" "$4}' > txq.xg

Modified: vic/branches/cc/cc/plots.sh
==============================================================================
--- vic/branches/cc/cc/plots.sh	(original)
+++ vic/branches/cc/cc/plots.sh	Mon Mar 15 03:04:41 2010
@@ -19,6 +19,8 @@
 	"encs.xg" with impulses title "start encoding", \
 	"ence.xg" with impulses title "end encoding", \
 	"inXR.xg" with impulses title "ackvec arrival", \
+	"txq.xg"  with linespoints lw 2.5 pt 5 title "tx queue", \
+	"cwnd.xg" with linespoints lw 2.5 lc 9 pt 6 title "cwnd", \
 	"seqno.xg" ls 3 title "packet"
 
 EOF
@@ -41,6 +43,8 @@
 "encs.xg" with impulses title "start encoding", \
 "ence.xg" with impulses title "end encoding" lc 4 lt 1, \
 "inXR.xg" with impulses title "ackvec arrival" lt 1 lc 2, \
+"txq.xg"  with linespoints lw 2.5 lc 0 lt 1 pt 5 title "tx queue", \
+"cwnd.xg" with linespoints lw 2.5 lc 9 lt 1 pt 6 title "cwnd", \
 "seqno.xg" pt 4 lc 3 title "packet"
 
 EOF
@@ -73,7 +77,7 @@
 
 set mxtics 5
 set mytics 2
-set xrange [$1:$2]
+set xrange [0:]
 set yrange [0:]
 set grid xtics ytics mytics
 
@@ -90,7 +94,7 @@
 
 set mxtics 5
 set mytics 2
-set xrange [$1:$2]
+set xrange [0:]
 set yrange [0:]
 set grid xtics ytics mytics
 



More information about the Sumover-dev mailing list