alpha.sh

来自「对IEEE 802.11e里的分布式信道接入算法EDCA进行改进」· Shell 代码 · 共 39 行

SH
39
字号
#!/bin/csh -fset max_alpha = 100set increment = 1set alpha = 0set latfile = alpha.latset gfile = alpha.goodputrm -f $latfiletouch $latfilerm -f $gfiletouch $gfileecho "#period  	min 	max	  mean 	std_dev "  >> $latfilewhile ( $alpha  <= $max_alpha )    ns lamia_test1.tcl scen_loulou.tcl 5 1500 $alpha    	 set goodput = `wlan-goodput-control-period scen_loulou.tcl 0.5`	 	 echo "$alpha  $goodput "  >> $gfile	 	 set lat_results = `wlan-lat-control-period  scen_loulou.tcl 0 AGT `	 	 echo "$alpha  $lat_results "  >> $latfile		 	 @ alpha = $alpha  +  $increment	 end

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?