- Home Page of ProjectGuideline.com ›
- Forums ›
- Get Help to do your B.E., and M.E., M.Tech., & M.S., Project in Ns2 ›
- bandwidth analysis
hi one again 🙂
i m doing some load balancing stuff and find out a piece of code to estimate link uitlization
set ns_ [Simulator instance]
set qmon [$ns_ monitor-queue $node $nbr f_]
set ebytes [$qmon set bdepartures_]
set Lutil [expr $ebytes*8/$time/$bw]
here lutil represent link utilization at given time
i want to know is that a correct way
and wat does bdepartures_ does any way??
thnks agaiin
I can not understand what your are exactly asking.
But in Chapter 7 “Queue Management and Packet Scheduling” , section 7.3, the ns manual defines it as follows:
bdepartures_ Running total of bytes contained in packets that have departed (not dropped).
Refer that chapter for more information.
yup thats what m asking if its
as its wriiten over there a
bdepartures_ : Running total of bytes contained in packets that have departed (not dropped).
so if i was multiplying by 8 to make it byte then i was doing a wrong calculation
right??