[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] How to write my item to trace file?
I think you might want to take a look at ~ns/tcl/lib/ns-link.tcl
to see how to create and insert a Trace/Drop object for your new
link.
Kun-chan Lan
On Mon, 20 Aug 2001, Xiaojun Cao wrote:
> Thanks a lot!
> Actually, my problem is like this, I create a new link which has no
> queue. I need manually Packet::free() some packets. In my present trace
> file , the info about droping packet disapear, I think the reason is it
> has no queue. So I want to add these dropping info to the tracefile. Do
> I need create a new trace object. Or I can get a reference of the trace
> object?
> How? Thanks!
>
> X. Cao
>
>
> Emre Safak wrote:
>
> >Look in cmu-trace.cc and trace.cc
> >If you want to write it for *every* packet, why not include in
> >Packet::free() ?
> >
> >Emre
> >
> >
>
>
>