Changeset 4639

Show
Ignore:
Timestamp:
02/23/10 16:16:49 (4 years ago)
Author:
soohyunc
Message:

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

Location:
vic/branches/cc/cc
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • vic/branches/cc/cc/o.sh

    r4614 r4639  
    2626# incoming XR 
    2727grep incomingXR trace.s | awk '{print $3" "100}' > inXR.xg 
     28 
     29# cwnd 
     30grep cwnd trace.s | awk '{print $2" "$4}' > cwnd.xg 
     31 
     32# ALI 
     33grep ALI trace.s | awk '{print $2" "$4}' > ALI.xg 
  • vic/branches/cc/cc/seqno.sh

    r4618 r4639  
    6363 
    6464EOF 
     65 
     66gnuplot -persist << EOF 
     67set terminal postscript eps enhanced color 
     68set output "cwnd.eps" 
     69 
     70set title "cwnd" 
     71set xlabel "vic run time (sec)" 
     72set ylabel "cwnd" 
     73 
     74set mxtics 5 
     75set mytics 2 
     76set xrange [$1:$2] 
     77set grid xtics ytics mytics 
     78 
     79plot "cwnd.xg" w lp lc 3 pt 4 ps .4 title "cwnd" 
     80EOF 
     81 
     82gnuplot -persist << EOF 
     83set terminal postscript eps enhanced color 
     84set output "ALI.eps" 
     85 
     86set title "average loss interval" 
     87set xlabel "vic run time (sec)" 
     88set ylabel "ALI" 
     89 
     90set mxtics 5 
     91set mytics 2 
     92set xrange [$1:$2] 
     93set grid xtics ytics mytics 
     94 
     95plot "ALI.xg" w lp lc 1 pt 5 ps .4 title "ALI" 
     96EOF