⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 how_to_run

📁 code wimax use c++ imanite mac layer in ns2
💻
字号:
< Example Topology >TCP Src1 - SS(0)TCP Src2 - SS(1)              ...                        			    10Mbps,10ms        3Mbps, 10msTCP Srci - SS(i-1)           BS(0)---------------W(0)-----------------W(1) - TCP Sink 1~10         			     DropTail    /      DropTail             5 TCP BG sinks						/ 					       / 					      / 10Mbps, 10msTCP Src9 - SS(8)                             / 					    /TCP Src10 - SS(9)                         W(2)				      5 TCP BG Sources---------------------------------------------------------------< How to Run >To run example script, run the following command:	% ns 10SS_withBG_throughput.tcl > outputThis will generate the following files and an xgraph drawing TCP packet sending/receving events:	- ex1.tr		// Trace files	- tcp_cwnd_trace_1.tr	- tcp_cwnd_trace_2.tr	- tcp_cwnd_trace_3.tr	- tcp_cwnd_trace_4.tr	- tcp_cwnd_trace_5.tr	- tcp_cwnd_trace_6.tr	- tcp_cwnd_trace_7.tr	- tcp_cwnd_trace_8.tr	- tcp_cwnd_trace_9.tr	- tcp_cwnd_trace_10.tr	- tcp_cwnd_trace_11.tr	- tcp_cwnd_trace_12.tr	- tcp_cwnd_trace_13.tr	- tcp_cwnd_trace_14.tr	- tcp_cwnd_trace_15.tr	- ITCP1STATUS.dat 	// TCP statistics files	- ITCP2STATUS.dat	- ITCP3STATUS.dat	- ITCP4STATUS.dat	- ITCP5STATUS.dat	- ITCP6STATUS.dat	- ITCP7STATUS.dat	- ITCP8STATUS.dat	- ITCP9STATUS.dat	- ITCP10STATUS.dat	- ITCP11STATUS.dat	- ITCP12STATUS.dat	- ITCP13STATUS.dat	- ITCP14STATUS.dat	- ITCP15STATUS.dat	- TCP1ack_rcvd	// Temp files to draw xgraph	- TCP1dropped	- TCP1sent	- TCPpackets.p0	- outputYou can see TCP throughput by using gnuplot as follows:	% gnuplot throughputplot.inputThen, it will generate the follwing eps file:	- throughputTCP1.epsYou can change the files to generate the data or graphs that you want.

⌨️ 快捷键说明

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