[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [ns] How to write my item to trace file?
- To: Emre Safak <emre@coe.neu.edu>, ns-users <ns-users@ISI.EDU>
- Subject: Re: [ns] How to write my item to trace file?
- From: Xiaojun Cao <xjcao@263.net>
- Date: Mon, 20 Aug 2001 16:05:28 -0400
- References: <Pine.SV4.4.10.10108201539310.7631-100000@N.coe.neu.edu>
- Sender: owner-ns-users@ISI.EDU
- User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:0.9.3) Gecko/20010801
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
>
>