开发者

NS2: How to measure queueing delay

I need a tcl or awk scri开发者_如何学Gopt that can be used queueing delay in my simulation.


You can use awk scripts like below

   if($4 == "AGT" && $1 == "s") {
      start_time[$6] = $2;
} else if(($7 == "cbr") && ($1 == "r")) {
    end_time[$6] = $2;
}

now you can calculate by subtraction..

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜