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

QueueMonitor question



Hi, I am trying to use the QueueMonitor object in NS, and am unclear on how to
acquire a handle to the object.

I am doing the folowing and don't know if this is correct:


set qm [$ns monitor-queue $n0 $n1]

I then run ns to see if it works and get the following error:

no value given for parameter "qtrace" to "_o3"
    (Simulator monitor-queue line 1)
    invoked from within
"$ns monitor-queue $n0 $n1 "
    (file "test.tcl" line 89)

..
Looking at the man page for ns, it appears that what I did is the correct
method to get a queuemonotor object.  There was no sample cod that I could
find in the ns source tree.

Any help or comments on where to look would be appreciated.  Thanks for your
time.

Paul