ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
tcl code for congestion control algorithms i.e, how to apply throughput, jitter, delay for congestion control algorithms - bic, htcp, hybla and the connectivity of the parameters with the algorithms and tcl code for its graphs..
OK, sorry for the patronizing. You're blindly asking for people to just post code to do several things that you want? After which you'll likely have a ton of follow up questions?
The best suggestion I can make here is to give some of that a try yourself, when you get stuck, post what you do have and where you're stuck. But if you start with an empty script and say you want it to do all those functions, people aren't just going to write or send stuff. Maybe if something exists and someone knows a reference, of course you can google the internet for tcl script examples. Try also doing a search and if you find something close, try to use it, adapt it, and then repost with relevant questions.
we want to calculate throughput, delay for congestion control algorithms.. we have code for throughput and also in-built code for the algorithm in ns2. how can we calculate them for the algorithms? i.e the code which connects throughput and the algorithm.. i dont have any idea about it. please help me.
Get the system time and put timestamps into log records at the points where you need to measure differences in time. An added thing you can do is to save the system timestamp at the points where you consider data ingress to occur and at the point where the egress is happening, check the system timestamp again and compare the difference in the saved variables. You can use or employ as many variables as makes sense for you. These are your algorithms, therefore you know best the points where transference of data is occurring.
Report so a Move can be done: This thread is more suitable in <Programming> and has been moved accordingly to help your thread/question get the exposure it deserves.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.