LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-10-2015, 12:29 AM   #1
phucdv11
LQ Newbie
 
Registered: Oct 2014
Posts: 19

Rep: Reputation: Disabled
Understand Code of GPSR-hls


I'm reading code of GPSR in folder GPSR-hls-util-03.15.
the thing that i dont understand that, in this folder have a lot of file .tcl, .tr, .pl
Actually, im not yet understand file .tcl
and, how to run file .pl to evaluate GPSR. which file .tcl, .tr, .pl hale related together.
example
Code:
130sec-1f-hls-1.tcl
150-2f-hls-2.tcl
AGT-on__hls.tcl
changjing1.tcl
evaluate.pl
hls.tcl
and another files.
Please help. thank a lot
Best regards!
 
Old 05-10-2015, 02:21 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
You can read the file "List" : That's the 'Simulation files'.
* Simulation files are easy to recognize : Ends with $ns_ run, or $ns run.

More info : Please read the file "README-HLS", about 'run.tcl' etc.
Perl scripts.pl are for analyzing , see README-HLS.

Except for the (not used) 'run_small.bat', all other files are "scene / movement" files.


-

Last edited by knudfl; 05-10-2015 at 02:22 AM.
 
Old 05-10-2015, 10:03 AM   #3
phucdv11
LQ Newbie
 
Registered: Oct 2014
Posts: 19

Original Poster
Rep: Reputation: Disabled
#2
thanks
In file "List" (the simulation file), every file.tcl in that have relation together or not? and what file perl related with file.tcl, please show me.
and how to run file .perl to see analyze.
Thank for your time!
 
Old 05-10-2015, 10:51 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Re #3.

How to use the perl files.pl in hls/utils : See README-HLS.

Using, example : $ perl file.pl trace-file.tr

All perl (and awk) files for analyzing a trace :
awk-and-perl_scripts_12.2014.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing

-
 
Old 05-12-2015, 12:05 PM   #5
phucdv11
LQ Newbie
 
Registered: Oct 2014
Posts: 19

Original Poster
Rep: Reputation: Disabled
#4
Could you show me what the name of the file .pl and trace-file.tr that i can do ( $ perl file.pl trace-file.tr ) in hls-utils_03.15.
I mean that, which file .tcl related with file.tr and file.perl. I'm a new in C++ language.
and Do you have any document about GPSR-hls routing protocol for me. So i can read and understand more about this routing protocol.
Thank you so much! I'm very appriciate your support.
 
  


Reply

Tags
gpsr, ns2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
NS-HLS--GPSR trying to get new hls gpsr example malikkk Linux - Software 0 04-07-2014 09:44 PM
Segmentation Fault with GPSR-HLS (hls.tcl) devanthakur Linux - Newbie 8 04-14-2013 12:34 PM
Apply for Ns-2.35 GPSR Source Code jamesjiangqian Linux - Newbie 4 07-16-2012 03:52 AM
Danbooru,postgresql,Code. Cant understand this code Vodkaholic1983 Linux - Newbie 7 07-03-2010 03:47 PM
help to understand this code cranium2004 Programming 1 03-21-2005 11:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration