I have a function called record which records the number of packets at the sink for computing the throughput.. I am doing this for more than 1 flow and I need the average for which I am using the record function.. the function is as follows.. and i get the o/p as below. I dont know where the 0...
i am running a tcl script which does not give me the right graphs.. can someone tell em as to where I am making a mistake ?
source /home/..../ns2/ns-allinone-2.33/ns-2.33/obs-0.9a/tcl/lib/ns-obs-lib.tcl
source /home/....../ns2/ns-allinone-2.33/ns-2.33/obs-0.9a/tcl/lib/ns-obs-defaults.tcl...
Hi Folks:
I need to compute the average for 500 values of throughputs in a file.. I am wanting to do it in TCL script.. any suggestions ?
my code is as follows just in case u wanted to see what i have done..! Please assist
source...
I understand that, there is a problem in the myconnection() with the s_agent and d_agent but I am not able to figure out exactly as to what's going wrong..please assist!
Hi Franco:
Thanks for ur reply.. I tried returning the s_agent and d_agent as a list as
return [list s_agent, d_agent]
but now i get a new set of errors:(you can see my code above)
no such agent _o198 _o197
(_o202 cmd line 1)
invoked from within
"_o202 cmd attach-agent {_o198...
Hi:
I have a code with which I want to be able to draw graphs for the congestion window and the throughput.. Can you please take a look at it.. and tell me where I am going wrong ? The simulation has been programmed to run for 500s but it does not run for even 5 secs.. I am pasting my TCL code...
oops.. forgot to answer ur qn.. its an XY plot and I have X axis as my max burst size and my Y axis as average throughput.. but I have to have to have a separate line on the graph for each value of BAT (burst assembling time).. but i have to record the average throughput! finally.. which is what...
HI Bong:
I am pretty new to TCL. I am trying to understand the script you sent. I need to compute throughput. I have a hard time understanding from the C++ code as to which variable computes the TCL because I have to associate it with the TCL script that I would write.. i see a variable called...
Hi Bong! Thanks for your reply. Yes I am on linux and I am using TCL already.. but i understand that I need to generate about 9 graphs with X and Y as axes parameters and then w.r.t Z i have to plot a line graph in the same for each corresponding values of X.
i am trying to use the argv and...
Hi:
I have to generate graphs for a project using a few values. I would like to use bash script in TCL. I have a C++ source code which has the parameters called argc and argv. I have pass those parameters to the TCL and enter my values in command line.. how can i do it without the bash and with...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.