singleVsMulti.sh
上传用户:rrhhcc
上传日期:2015-12-11
资源大小:54129k
文件大小:1k
源码类别:

通讯编程

开发平台:

Visual C++

  1. #! /bin/csh
  2. rm -f singleVsMulti/flows* singleVsMulti/tmp* singleVsMulti/dropRate* singleVsMulti/data*
  3. set t1=2000
  4. foreach rtt ( 0.01 0.02 0.03 0.04 0.05 0.06 0.07 0.08 0.09 0.10 0.11 0.12 )
  5. echo "Doing rtt ${rtt}"
  6. ns red-pd.tcl one netSingleVsMulti TestIdent testRTT ${rtt} ftype tcp time $t1 > tmp-${rtt}
  7. mv one.netSingleVsMulti.TestIdent.1.flows flows-${rtt}
  8. end
  9. singleVsMulti/singleVsMulti.pl tmp- 
  10. mv flows-* tmp* data-* singleVsMulti
  11. cd singleVsMulti
  12. gnuplot singleVsMulti.gp
  13. gv singleVsMulti.ps &
  14. cd ..