Changeset 4694

Show
Ignore:
Timestamp:
03/15/10 03:04:41 (4 years ago)
Author:
soohyunc
Message:

-- modified graph-ing script

including Tx queue length and cwnd in a single graph


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

Legend:

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

    r4685 r4694  
    3737cc/tools/asv drop drop.tr 
    3838rm drop.tr 
     39 
     40# tx queue len 
     41grep txq_end trace.s | awk '{print $2" "$4}' > txq.xg 
  • vic/branches/cc/cc/plots.sh

    r4646 r4694  
    2020        "ence.xg" with impulses title "end encoding", \ 
    2121        "inXR.xg" with impulses title "ackvec arrival", \ 
     22        "txq.xg"  with linespoints lw 2.5 pt 5 title "tx queue", \ 
     23        "cwnd.xg" with linespoints lw 2.5 lc 9 pt 6 title "cwnd", \ 
    2224        "seqno.xg" ls 3 title "packet" 
    2325 
     
    4244"ence.xg" with impulses title "end encoding" lc 4 lt 1, \ 
    4345"inXR.xg" with impulses title "ackvec arrival" lt 1 lc 2, \ 
     46"txq.xg"  with linespoints lw 2.5 lc 0 lt 1 pt 5 title "tx queue", \ 
     47"cwnd.xg" with linespoints lw 2.5 lc 9 lt 1 pt 6 title "cwnd", \ 
    4448"seqno.xg" pt 4 lc 3 title "packet" 
    4549 
     
    7478set mxtics 5 
    7579set mytics 2 
    76 set xrange [$1:$2] 
     80set xrange [0:] 
    7781set yrange [0:] 
    7882set grid xtics ytics mytics 
     
    9195set mxtics 5 
    9296set mytics 2 
    93 set xrange [$1:$2] 
     97set xrange [0:] 
    9498set yrange [0:] 
    9599set grid xtics ytics mytics