亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? plm.tex

?? 對IEEE 802.11e里的分布式信道接入算法EDCA進(jìn)行改進(jìn)
?? TEX
?? 第 1 頁 / 共 2 頁
字號:
\chapter{PLM}{\sloppy\label{sec:PLM}This chapter describes the ns  implementation of the PLM protocol\cite{legout_sigmetrics2000}. The code of the PLM protocol  is written in both C++ and OTcl. The PLM Packet Pair generator iswritten in C++ and the PLM core machinery is written in OTcl. The chapter has simplythree parts: the first part shows how to create and configure a PLM session; thesecond part describes the Packet Pair source generator; the third part describesthe architecture and internals of the PLM protocol. In this last part, ratherthan giving a list of procedures and functions, we introduce the mainprocedures per functionality (instantiation of a PLM source, instantiation of aPLM receiver, reception of a packet, detection of a loss, etc.).The procedures, functions, and variables described in this chapter can be found in:\nsf{plm/cbr-traffic-PP.cc}, \nsf{plm/loss-monitor-plm.cc}, \nsf{tcl/plm/plm.tcl},\nsf{tcl/plm/plm-ns.tcl}, \nsf{tcl/plm/plm-topo.tcl}, \nsf{tcl/lib/ns-default.tcl}.\section{Configuration}\label{sec:Configuration}\paragraph{Creating a simple scenario with one PLM flow (only one receiver)\\}This simple example can be run as is (several complex scenarios can be found inthe file \nsf{tcl/ex/simple-plm.tcl}).\begin{program}  set packetSize 500                          \;Packet size (in bytes);  set plm_debug_flag 2                        \;Debugging output;  set rates "50e3 50e3 50e3 50e3 50e3"        \;Rate of each layer;  set rates_cum [calc_cum $rates]       \;Cumulated rate of the layers (mandatory);  set level [llength $rates]            \;Number of layers (mandatory);    set Queue_sched_ FQ                         \;Scheduling of the queues;  set PP_burst_length 2                       \;PP burst length (in packets);  set PP_estimation_length 3                  \;Minimum number of PP required to make an estimate;  Class Scenario0 -superclass PLMTopology  Scenario0 instproc init args \{    eval $self next $args    $self instvar ns node        $self build_link 1 2 100ms 256Kb           \;Build a link;    set addr(1) [$self place_source 1 3]      \;Set a PLM source;    $self place_receiver 2 $addr(1) 5 1       \;Set a PLM receiver;    {\cf #set up the multicast routing}    DM set PruneTimeout 1000                  \;A large PruneTimeout value is required;    set mproto DM    set mrthandle [$ns mrtproto $mproto \{\} ]    \}  set ns [new Simulator -multicast on]            \;PLM needs multicast routing;  $ns multicast  $ns namtrace-all [open out.nam w]               \;Nam output;  set scn [new Scenario0 $ns]                     \;Call of the scenario;  $ns at 20 "exit 0"  $ns run\end{program}Several variables are introduced in this example. They all need to be set in thesimulation script (there is no default value for these variables). In particularthe two following lines  are mandatory and must not be omitted:\begin{program}  set rates_cum [calc_cum $rates]  set level [llength $rates]\end{program}We describe now in detail each variable:\begin{description}\item[\tt packetSize] represents the size of the packets in bytes sent by the PLM  source. \item [\tt plm\_debug\_flag] represents the verbose level of debugging output: from 0 no  output to 3 full output. For \code{plm_debug_flag} set to 3 (full output), long  lines output are   generated which is not compatible with nam visualization. \item [\tt rates] is a list specifying  the bandwidth of each layer (this is not the cumulated bandwidth!). \item [\tt rates\_cum] is a list specifying the cumulated bandwidth of the  layers: the first element of \code{rates_cum} is the bandwidth a layer 1, the  second element of \code{rates_cum} is the sum of the bandwidth of layer 1 and  layer 2, etc. The proc \proc{calc\_cum} computes the cumulated rates. \item [\tt level] is the number of layers. \item [\tt Queue\_sched\_] represents the scheduling of the queues. This is used by the  PLMTopology instproc \code{build_link}. PLM requires FQ scheduling or a  variation. \item [\tt PP\_burst\_length] represents the size of the Packet Pair bursts  in packets. \item [\tt PP\_estimation\_length] represents the minimum number of Packet  Pair required to compute an estimate (see  section~\ref{sec:PLMReception-Packet}). \end{description}All the simulations for PLM should be setup using the PLMTopology environment (asin the example script where we define a PLMTopology superclass called Scenario0). Theuser interface is (all the instproc can be found in \nsf{tcl/plm/plm-topo.tcl}):\begin{description}\item[\tt build\_link a b d bw] creates a duplex link between node  \code{a} and \code{b} with a delay \codedqsflvy and a bandwidth \code{bw}. If  either node does not exist, \code{build_link} creates it.\item[\tt place\_source n t] creates and places a PLM source at node \code{n} and  starts it at time \code{t}. \code{place_source} returns \code{addr} which  allows to attach receivers to this source.\item[\tt place\_receiver n addr C nb] creates and places a PLM receiver at node  \code{n} and attached it to the source which return the address \code{addr}. The  check value for this PLM receiver is \code{C}. An optional parameter \code{nb}  allows to get an instance of the PLM receiver called \code{PLMrcvr($nb)}. This  instance is only useful to get some specific statistics about this receiver  (mainly the number of packets received or lost). %$\end{description}\section{The Packet Pair Source Generator}This section describes the Packet Pair source generator; the relevant files are:\nsf{plm/cbr-traffic-PP.cc}, \nsf{tcl/lib/ns-default.tcl}. The OTcl class name ofthe PP source is: Application/Traffic/CBR\_PP. The Packet Pair (PP) source generator is in the file\nsf{plm/cbr-traffic-PP.cc}. This source generator is a variation of the CBR source generator in \nsf{cbr\_traffic.cc}.We just describe the salient differences between the code ofthe CBR source and the code of the PP source. The default values in \nsf{tcl/lib/ns-default.tcl} for the PP source generator are the samethan for the CBR source. We need for the PP source generator a new parameter {\tt PBM\_}:\begin{program}Application/Traffic/CBR_PP set PBM_ 2 \;Default value;\end{program}The OTcl instvar bounded variable {\tt PBM\_} (same name in C++ and in OTcl)specifies the number of back-to-back packets to be sent. For {\tt PBM\_}=1 wehave a CBR source, for {\tt PBM\_}=2 we have a Packet Pair source (a source whichsends two packets back-to-back), etc. The mean rate of the PP source is\code{rate_}, but the packets are sent in burst of \code{PBM_} packets. Notethat we also use the terminology Packet Pair source and Packet Pair burst for{\tt PBM\_$>$2}.We compute the \code{next_interval} as:\begin{program}double CBR_PP_Traffic::next_interval(int& size){{\cf /*(PP_ - 1) is the  number of packets in the current burst.*/}        if (PP_ >= (PBM_ - 1)){                         interval_ = PBM_*(double)(size_ << 3)/(double)rate_;                PP_ = 0;        }        else {                interval_ = 1e-100; //zero                PP_ += 1 ;        }...}\end{program}The \proc{timeout} method puts the {\tt NEW\_BURST} flag in the first packet of aburst. This is useful for the PLM protocol to identify the beginning of a PPburst.\begin{program}  void CBR_PP_Traffic::timeout()  {    ...    if (PP_ == 0)       agent_->sendmsg(size_, "NEW_BURST");    else       agent_->sendmsg(size_);        ...    }\end{program}\section{Architecture of the PLM Protocol}The code of the PLM protocol is divided in three files: \nsf{tcl/plm/plm.tcl},which contains the PLM protocol machinery without any specific interface with\ns; \nsf{tcl/plm/plm-ns.tcl}, which contains the specific ns interface.However, we do not guarantee the strict validity of this ns interfacing;\nsf{tcl/plm/plm-topo.tcl}, which contains a user interface to build simulationscenarios with PLM flows. In the following we do not discuss the various procedures per object (forinstance all the instproc of the PLM class)  but rather per functionality (forinstance which instproc among the various classes are involved in the instantiationof a PLM receiver). For a given functionality, we do not describe in details allthe code involved, but we give the principal steps.

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號 Ctrl + =
減小字號 Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
色av综合在线| 成人免费电影视频| 欧美一级国产精品| 日本在线不卡视频| 日韩精品影音先锋| 国产永久精品大片wwwapp| 26uuuu精品一区二区| 国产成人午夜精品影院观看视频| 国产精品国产a| 欧美羞羞免费网站| 狠狠色丁香婷综合久久| 成人欧美一区二区三区视频网页 | 狠狠色丁香久久婷婷综合丁香| 欧美成人一区二区三区片免费 | 国产欧美一区二区三区在线老狼| 国产成人精品三级麻豆| 日韩一区在线看| 91精品国产色综合久久久蜜香臀| 久久99深爱久久99精品| 中文字幕在线不卡一区二区三区 | 99re在线视频这里只有精品| 夜色激情一区二区| 国产欧美日韩另类视频免费观看| 成人v精品蜜桃久久一区| 亚洲成人自拍网| 国产清纯白嫩初高生在线观看91| 欧美综合欧美视频| 国产乱一区二区| 亚洲国产一区二区a毛片| 久久亚洲精华国产精华液| 色一情一伦一子一伦一区| 久久91精品久久久久久秒播| 一区精品在线播放| 精品成人一区二区三区四区| 91片在线免费观看| 国产一区二区三区日韩| 亚洲成人你懂的| 国产精品视频一二三| 91精品免费观看| 一本色道久久综合狠狠躁的推荐 | 成人免费一区二区三区视频 | 首页国产欧美久久| 国产精品久久久久久久久久久免费看| 在线电影一区二区三区| 91在线看国产| 国产乱妇无码大片在线观看| 日韩精品电影一区亚洲| 亚洲美女淫视频| 欧美国产日韩一二三区| 精品精品欲导航| 欧美日韩高清不卡| 一本久道久久综合中文字幕| 国产成人午夜视频| 国产在线看一区| 蜜桃精品视频在线| 日韩国产欧美视频| 一区二区日韩电影| 亚洲欧美日韩在线| 国产精品久久久久永久免费观看| 精品国产亚洲一区二区三区在线观看| 欧美三级电影在线观看| 91麻豆免费观看| av不卡在线播放| 成人av免费在线观看| 国产成人精品一区二| 国产精品一区在线观看乱码| 捆绑变态av一区二区三区| 免费视频最近日韩| 日日夜夜一区二区| 日韩电影在线看| 日本在线不卡一区| 蜜臀99久久精品久久久久久软件| 香蕉加勒比综合久久| 亚洲国产成人av网| 亚洲成人av一区二区三区| 香蕉成人啪国产精品视频综合网| 香蕉成人啪国产精品视频综合网| 亚洲综合在线五月| 亚洲h精品动漫在线观看| 三级久久三级久久久| 日本中文在线一区| 激情综合色综合久久| 国产综合一区二区| 成人中文字幕合集| 91丨国产丨九色丨pron| 日本久久一区二区| 欧美理论在线播放| 日韩久久免费av| 国产蜜臀av在线一区二区三区| 一区二区在线观看视频| 亚洲国产综合91精品麻豆 | 日本三级亚洲精品| 久久福利视频一区二区| 高清国产一区二区| 97久久精品人人爽人人爽蜜臀| 91久久精品一区二区三| 欧美电影在哪看比较好| 欧美不卡一区二区三区四区| 精品国产一区二区三区四区四 | 亚洲国产精品综合小说图片区| 五月婷婷激情综合网| 狠狠色丁香久久婷婷综合_中| 国产成人自拍在线| 欧美综合亚洲图片综合区| 日韩欧美色综合| 国产人成亚洲第一网站在线播放 | 丁香六月久久综合狠狠色| 日本乱人伦aⅴ精品| 日韩欧美第一区| 国产精品网站导航| 亚洲va欧美va国产va天堂影院| 激情五月播播久久久精品| zzijzzij亚洲日本少妇熟睡| 欧美性生活大片视频| 精品国产精品网麻豆系列| 中文字幕一区二区三区蜜月| 日韩一区精品字幕| 成人做爰69片免费看网站| 欧美亚洲高清一区| 亚洲国产精品激情在线观看| 亚洲国产精品麻豆| 成熟亚洲日本毛茸茸凸凹| 欧美理论电影在线| 最新久久zyz资源站| 麻豆精品蜜桃视频网站| 色呦呦网站一区| 国产视频一区二区在线| 亚洲不卡在线观看| www..com久久爱| 精品国产乱码久久| 日韩精品一二三四| 99精品1区2区| 国产性天天综合网| 麻豆精品一区二区综合av| 91福利视频网站| 成人免费在线视频观看| 国产一区二区三区四区在线观看 | 99综合影院在线| 久久综合色天天久久综合图片| 亚洲一区在线观看免费| av毛片久久久久**hd| 国产亚洲综合色| 美女视频网站久久| 欧美精品在线一区二区三区| 亚洲欧美偷拍三级| 99久久婷婷国产综合精品| 久久一二三国产| 激情综合五月婷婷| 日韩欧美在线网站| 日韩成人免费在线| 911国产精品| 亚洲成av人在线观看| 91久久精品一区二区二区| 亚洲同性同志一二三专区| 丁香婷婷综合激情五月色| 精品三级在线观看| 看片的网站亚洲| 欧美电视剧在线观看完整版| 美女网站一区二区| 欧美一级免费大片| 日本在线不卡一区| 日韩欧美一级精品久久| 日本在线播放一区二区三区| 日韩视频永久免费| 青青国产91久久久久久| 欧美丰满少妇xxxxx高潮对白| 亚洲午夜av在线| 欧美电影在线免费观看| 日产国产欧美视频一区精品| 欧美日韩国产另类一区| 亚洲成精国产精品女| 91精品一区二区三区久久久久久| 五月天久久比比资源色| 日韩一区二区三区在线观看| 蜜桃av一区二区在线观看| 精品国产乱码久久久久久1区2区| 韩国精品免费视频| 国产精品热久久久久夜色精品三区 | 日韩一区二区影院| 国产综合久久久久影院| 中文av一区二区| 色诱视频网站一区| 亚洲成av人片| 久久免费电影网| 99久久国产综合精品麻豆| 亚洲一二三区视频在线观看| 欧美在线观看一区| 老司机一区二区| 亚洲国产高清不卡| 色婷婷综合久久久中文一区二区| 亚洲国产精品综合小说图片区| 日韩视频中午一区| 波多野结衣亚洲| 日韩国产一二三区| 国产欧美精品一区二区三区四区| 99精品国产视频| 日本欧美一区二区在线观看| 国产拍欧美日韩视频二区| 在线日韩一区二区| 久久99国产精品免费网站|