[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Create Trace
It is not recommended to use create-trace{}, because it does not insert
the trace object into queues, etc. If you want to trace only a single
link, use Simulator::trace-queue. Otherwise you can use
Simulator::trace-all or Simulator::namtrace-all.
- Haobo
On Fri, 7 May 1999, Massimo Pegorer wrote:
> Hi!
>
> I'd like to trace only dropped packet on a link
> so I've used (n&d p.100):
>
> [...]
> set file [open drop.tr w]
> $ns create-trace Drop $file $n(1) $n(2)
> [...]
>
> It creates the drop.tr file but it's empty,
> while from nam (or from the trace-all file)
> it' s evident that there are some dropped
> packets!?
>
> Thanks in advance for help,
>
> Max
>