[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About packet delays



It's maintained by class Samples in integrator.h. It does not do max but
it should be straightforward to add it. I think otcl binding "reset" of
Samples addresses your second question; see integrator.cc.

- Haobo

On Sun, 15 Aug 1999, Konstantinos Psounis wrote:

> Hi all,
> 
> I would like to ask if NS monitor objects can return the max delay also
> in addition to the average (mean) delay. I have searched the tcl scripts
> but I have found code fragments with mean delay only. Finally I would
> like to ask if there is a way to flush the delay samples from tcl so
> that next mean (or max) delay refers only to what is happening after the
> flushing and not from the beginning of the simulation. Maybe something
> like flush-trace{} but only for the delay samples.
> 
> for example:
> 
> set dsamp [$flow get-delay-samples]
> set meandelay [$dsamp mean]
> #is there something like max delay to be invoked as:
> set maxdelay [$dsamp ??max??]
> #is there a way to flush the delay samples up to now:
> flush-??delay??-trace{}
> 
> Thanks a lot,
> 
> --
> **********************************
> Konstantinos Psounis
> Summer Intern
> Cisco Systems
> IP Switching (ATM platforms) group
> 285 West Tasman Dr.
> (408)5252542
> **********************************
> 
> 
>