[ns] Mean idle time
vph at unik.no
Tue Feb 3 07:28:27 PST 2009
I hope someone can give me some idea on how to implement mean idle time in mac-802_11.cc. To explain this in detail, from the node under consideration point of view, hereby referred as station, the medium is sometimes idle and sometimes busy. Given a time window T, we want to determine the amount of time of this window where the medium is idle, i.e. let B be the amount of time where the medium is busy then we may express the idle time ratio as:
ITR = (T-B)/T
I assume that the suitable place to implement this is in the mac-802_11.cc file, but I'm not sure how to implement this. I guess that we need to implement some kind of sliding window since the time window T must always move forward in time. If you have any suggestions please let me know. Furthermore, if there exist any related papers please let me know.
Thank you very much for your help and time.
More information about the Ns-users