[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: Add queue
Hi,
I looked into that file and as I understand, the monitor-queue function
monitors the queue every interval_ time. I am wondering if I want to monitor
the queue on per arrival packet base, what should I do? Is there any such
example or function?
Thanks,
Huiwen
> -----Original Message-----
> From: Haobo Yu [mailto:[email protected]]
> Sent: Saturday, August 07, 1999 1:10 PM
> To: Vincenzo Mazzota
> Cc: Mailing List ns-2
> Subject: Re: Add queue
>
>
> queue monitors are independent of ns/nam traces. Look at
> tcl/test/test-suite-intserv.tcl for an example of using them; grep for
> "monitor-queue". Look at tcl/lib/ns-lib.tcl for its syntax.
>
> - Haobo
>
> On Sat, 7 Aug 1999, Vincenzo Mazzota wrote:
>
> > Hi to everybody,
> >
> > Thanks for your answers....
> > I would like to add to my topology a queue-monitor that
> allows me of to
> > calculate the statistics of the queue as for instance middle time of
> > wait in the queue, middle length of the queue etc.
> > Besides I would like to save in the files out.tr or/and out.nam the
> > information related to the statistic of the queue...
> > If someone has some examples from to let see me respect to as the
> > queue-monitor it is used and to as the information of the
> simulation you
> >
> > can be chosen that want to save each other on the files...
> >
> > Thank you in advance
> >
> > Vincenzo Mazzotta
> > ([email protected])
> >
>
>