[ns] Trace File Generation

Ali Hamidian ali.hamidian at telecom.lth.se
Tue Feb 13 04:28:02 PST 2007


Hi,

A short answer is: the content of a trace file is generated in the 
~ns/trace/trace.cc and ~ns/trace/cmu-trace.cc

Kind regards
Ali

Bahman Kalantari Sabet wrote:

>
> ------------------------------------------------------------------------
>
> Hi,
>
> Firstly, thank you for your kind suggestions.  Unfortunately, I didn't 
> get any answer to my question as it wasn't a clear one.  So, I am 
> wirting my question one more time in a bit more detail.
>
> What I need to know is that "how" the trace file is constructed.  I 
> mean, for example, is the line (Event, Time, From Node, To Node, 
> Packet Type, Packet Size, etc.) generated from a C++ file or a TCL 
> file.  In other words, is it the output of a C++ file or a TCL file? 
> If so, where can I find this file (that generates each line of the 
> trace file).  I need to check, for instance, where the trace file gets 
> its timing, packet type, etc. from.
>
> Thanks,
>
> Bahman.
>
> _________________________________________________________________
> MSN Hotmail is evolving - check out the new Windows Live Mail 
> http://ideas.live.com
>


More information about the Ns-users mailing list