📄 node435.html
字号:
<html><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN"><!--Converted with jLaTeX2HTML 2002 (1.62) JA patch-1.4patched version by: Kenshi Muto, Debian Project.LaTeX2HTML 2002 (1.62),original version by: Nikos Drakos, CBLU, University of Leeds* revised and updated by: Marcus Hennecke, Ross Moore, Herb Swan* with significant contributions from: Jens Lippmann, Marek Rouchal, Martin Wilck and others --><HTML><HEAD><TITLE>33.1.3.0.1 Data Loss</TITLE><META NAME="description" CONTENT="33.1.3.0.1 Data Loss"><META NAME="keywords" CONTENT="everything"><META NAME="resource-type" CONTENT="document"><META NAME="distribution" CONTENT="global"><META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"><META NAME="Generator" CONTENT="jLaTeX2HTML v2002 JA patch-1.4"><META HTTP-EQUIV="Content-Style-Type" CONTENT="text/css"><LINK REL="STYLESHEET" HREF="everything.css" tppabs="http://www.isi.edu/nsnam/ns/doc/everything.css"><LINK REL="next" HREF="node436.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node436.html"><LINK REL="previous" HREF="node434.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node434.html"><LINK REL="up" HREF="node434.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node434.html"><LINK REL="next" HREF="node436.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node436.html"></HEAD><BODY ><!--Navigation Panel--><A NAME="tex2html8092" HREF="node436.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node436.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html8086" HREF="node434.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node434.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html8080" HREF="node434.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node434.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html8088" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html"><IMG WIDTH="65" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="contents" SRC="file:/usr/share/latex2html/icons/contents.png"></A> <A NAME="tex2html8090" HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html"><IMG WIDTH="43" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="index" SRC="file:/usr/share/latex2html/icons/index.png"></A> <BR><B> Next:</B> <A NAME="tex2html8093" HREF="node436.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node436.html">33.1.3.0.2 Overall Statistics</A><B> Up:</B> <A NAME="tex2html8087" HREF="node434.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node434.html">33.1.3 Statistics</A><B> Previous:</B> <A NAME="tex2html8081" HREF="node434.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node434.html">33.1.3 Statistics</A>   <B> <A NAME="tex2html8089" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>   <B> <A NAME="tex2html8091" HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html">Index</A></B> <BR><BR><!--End of Navigation Panel--><H4><A NAME="SECTION06413010000000000000">33.1.3.0.1 Data Loss</A></H4>The statistics to measure the response to data lossestracks the duplicate requests (and repairs),and the average request (and repair) delay.The algorithm used is documented in Floyd [<A HREF="node589.html#Floy95:Reliable" tppabs="http://www.isi.edu/nsnam/ns/doc/node589.html#Floy95:Reliable">13</A>].In this algorithm,each new request (or repair) starts a new request (or repair) period.During the request (or repair) period, the agent measuresthe number of first round duplicate requests (or repairs)until the round terminates either due to receiving a request (orrepair), or due to the agent sending one.The following code illustrates how the user can simple retrieve thecurrent values in an agent:<PRE> set statsList [$srm array get statistics_] array set statsArray [$srm array get statistics_]</PRE>The first form returns a list of key-value pairs.The second form loads the list into the <TT>statsArray</TT> for further manipulation.The keys of the array are<TT>dup-req</TT>, <TT>ave-dup-req</TT>, <TT>req-delay</TT>, <TT>ave-req-delay</TT>,<TT>dup-rep</TT>, <TT>ave-dup-rep</TT>, <TT>rep-delay</TT>, and <TT>ave-rep-delay</TT>.<P><BR><HR><ADDRESS>2003-09-23</ADDRESS></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -