📄 node266.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>23.1 Trace Support</TITLE><META NAME="description" CONTENT="23.1 Trace Support"><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="node268.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node268.html"><LINK REL="previous" HREF="node265.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node265.html"><LINK REL="up" HREF="node265.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node265.html"><LINK REL="next" HREF="node267.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node267.html"></HEAD><BODY ><!--Navigation Panel--><A NAME="tex2html5388" HREF="node267.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node267.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html5382" HREF="node265.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node265.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html5376" HREF="node265.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node265.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html5384" 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="tex2html5386" 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="tex2html5389" HREF="node267.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node267.html">23.1.1 OTcl Helper Functions</A><B> Up:</B> <A NAME="tex2html5383" HREF="node265.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node265.html">23. Trace and Monitoring</A><B> Previous:</B> <A NAME="tex2html5377" HREF="node265.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node265.html">23. Trace and Monitoring</A>   <B> <A NAME="tex2html5385" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>   <B> <A NAME="tex2html5387" HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html">Index</A></B> <BR><BR><!--End of Navigation Panel--><H1><A NAME="SECTION04310000000000000000"></A><A NAME="sec:otcltrace"></A><BR>23.1 Trace Support</H1><P>The trace support in OTcl consists of a number of specializedclasses visible in OTcl but implemented in C++, combinedwith a set of Tcl helper procedures and classes defined in the library.<P>All following OTcl classes are supported by underlying C++classes defined in trace.cc.Objects of the following types are inserted directly in-line in thenetwork topology:<P><TABLE CELLPADDING=3 WIDTH="100%"><TR><TD ALIGN="RIGHT">Trace/Hop</TD><TD ALIGN="LEFT">trace a ``hop'' (XXX what does this mean exactly; it is not really used XXX)</TD></TR><TR><TD ALIGN="RIGHT">Trace/Enque</TD><TD ALIGN="LEFT">a packet arrival (usually at a queue)</TD></TR><TR><TD ALIGN="RIGHT">Trace/Deque</TD><TD ALIGN="LEFT">a packet departure (usually at a queue)</TD></TR><TR><TD ALIGN="RIGHT">Trace/Drop</TD><TD ALIGN="LEFT">packet drop (packet delivered to drop-target)</TD></TR><TR><TD ALIGN="RIGHT">Trace/Recv</TD><TD ALIGN="LEFT">packet receive event at the destination node of a link</TD></TR><TR><TD ALIGN="RIGHT">SnoopQueue/In</TD><TD ALIGN="LEFT">on input, collect a time/size sample (pass packet on)</TD></TR><TR><TD ALIGN="RIGHT">SnoopQueue/Out</TD><TD ALIGN="LEFT">on output, collect a time/size sample (pass packet on)</TD></TR><TR><TD ALIGN="RIGHT">SnoopQueue/Drop</TD><TD ALIGN="LEFT">on drop, collect a time/size sample (pass packet on)</TD></TR><TR><TD ALIGN="RIGHT">SnoopQueue/EDrop</TD><TD ALIGN="LEFT">on an "early" drop, collect a time/size sample (pass packet on)</TD></TR></TABLE><P>Objects of the following types are added in the simulation and a referencedby the objects listed above. They are used to aggregate statistics collectedby the SnoopQueue objects:<P><TABLE CELLPADDING=3 WIDTH="100%"><TR><TD ALIGN="RIGHT">QueueMonitor</TD><TD ALIGN="LEFT">receive and aggregate collected samples from snoopers</TD></TR><TR><TD ALIGN="RIGHT">QueueMonitor/ED</TD><TD ALIGN="LEFT">queue-monitor capable of distinguishing between ``early'' and standard packet drops</TD></TR><TR><TD ALIGN="RIGHT">QueueMonitor/ED/Flowmon</TD><TD ALIGN="LEFT">per-flow statistics monitor (manager)</TD></TR><TR><TD ALIGN="RIGHT">QueueMonitor/ED/Flow</TD><TD ALIGN="LEFT">per-flow statistics container</TD></TR><TR><TD ALIGN="RIGHT">QueueMonitor/Compat</TD><TD ALIGN="LEFT">a replacement for a standard QueueMonitor when v1 compatibility is in use</TD></TR></TABLE><P><BR><HR><!--Table of Child-Links--><A NAME="CHILD_LINKS"><STRONG>Subsections</STRONG></A><UL><LI><A NAME="tex2html5390" HREF="node267.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node267.html">23.1.1 OTcl Helper Functions</A></UL><!--End of Table of Child-Links--><HR><!--Navigation Panel--><A NAME="tex2html5388" HREF="node267.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node267.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html5382" HREF="node265.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node265.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html5376" HREF="node265.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node265.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html5384" 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="tex2html5386" 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="tex2html5389" HREF="node267.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node267.html">23.1.1 OTcl Helper Functions</A><B> Up:</B> <A NAME="tex2html5383" HREF="node265.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node265.html">23. Trace and Monitoring</A><B> Previous:</B> <A NAME="tex2html5377" HREF="node265.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node265.html">23. Trace and Monitoring</A>   <B> <A NAME="tex2html5385" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>   <B> <A NAME="tex2html5387" HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html">Index</A></B> <!--End of Navigation Panel--><ADDRESS>2003-09-23</ADDRESS></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -