[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ns] Re: queue calculation
Hi All
I had been trying to gather the queue statistics for DropTail and I
couldn't get working with it. The following is the code for RED queue which
I had tried getting worked for DropTail...all suggestions are desperately
sought.
---------------------------------------
...
...
$ns duplex-link $n1 $n3 1Mb 10ms DropTail
$ns duplex-link $n2 $n3 1Mb 10ms DropTail
...
...
# Tracing a queue
set redq [[$ns link $n3 $n4] queue]
set tchan_ [open example1_all.q w]
$redq trace curq_
$redq trace ave_
$redq attach $tchan_
----------------------------------------
I get an error saying that curq_ and ave_ are not a part of Object droptail.
Any suggestions?
Thanks in advance.
Sincerely
Sai Swaroop Oruganti