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

Re: link "stat" functions



Look at tcl/lib/ns-compat.tcl to see how backward compatibilities of such
commands are implemented. It does require inserting queue monitors,
but it should be straightforward to build a wrapper to SimpleLink to query
its qMonitor_ in a similar way as linkHelper::stat{} in ns-compat.tcl.

- Haobo

On Tue, 17 Aug 1999, Wei Wang wrote:

> In ns-1, there are a set of "stat" functions for link, like "stat packets",
> "stat drops", "stat gcast-drops", etc. For ns-2, it seems that I have to
> put trace or monitors to links to get such information.
> 
> Is there an simple way to get similar results without much modification
> to the code?
> 
> Thanks in advance.
> 
> Wei Wang
>