📄 node275.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.7.2 Flow Monitor Trace Format</TITLE><META NAME="description" CONTENT="23.7.2 Flow Monitor Trace Format"><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="node276.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node276.html"><LINK REL="previous" HREF="node274.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node274.html"><LINK REL="up" HREF="node273.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node273.html"><LINK REL="next" HREF="node276.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node276.html"></HEAD><BODY ><!--Navigation Panel--><A NAME="tex2html5516" HREF="node276.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node276.html"><IMG WIDTH="37" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="next" SRC="file:/usr/share/latex2html/icons/next.png"></A> <A NAME="tex2html5510" HREF="node273.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node273.html"><IMG WIDTH="26" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="up" SRC="file:/usr/share/latex2html/icons/up.png"></A> <A NAME="tex2html5504" HREF="node274.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node274.html"><IMG WIDTH="63" HEIGHT="24" ALIGN="BOTTOM" BORDER="0" ALT="previous" SRC="file:/usr/share/latex2html/icons/prev.png"></A> <A NAME="tex2html5512" 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="tex2html5514" 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="tex2html5517" HREF="node276.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node276.html">23.7.3 The Flow Class</A><B> Up:</B> <A NAME="tex2html5511" HREF="node273.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node273.html">23.7 Per-Flow Monitoring</A><B> Previous:</B> <A NAME="tex2html5505" HREF="node274.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node274.html">23.7.1 The Flow Monitor</A>   <B> <A NAME="tex2html5513" HREF="node1.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node1.html">Contents</A></B>   <B> <A NAME="tex2html5515" HREF="node590.html" tppabs="http://www.isi.edu/nsnam/ns/doc/node590.html">Index</A></B> <BR><BR><!--End of Navigation Panel--><H2><A NAME="SECTION04372000000000000000"></A><A NAME="sec:flowmonclass"></A><BR>23.7.2 Flow Monitor Trace Format</H2><P>The flow monitor defines a trace format which may be used by post-processingscripts to determine various counts on a per-flow basis.The format is defined by the following code in flowmon.cc:<PRE>voidFlowMon::fformat(Flow* f){ double now = Scheduler::instance().clock(); sprintf(wrk_, "%8.3f %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d %d now, f-\>flowid(), // flowid 0, // category f-\>ptype(), // type (from common header) f-\>flowid(), // flowid (formerly class) f-\>src(), f-\>dst(), f-\>parrivals(), // arrivals this flow (pkts) f-\>barrivals(), // arrivals this flow (bytes) f-\>epdrops(), // early drops this flow (pkts) f-\>ebdrops(), // early drops this flow (bytes) parrivals(), // all arrivals (pkts) barrivals(), // all arrivals (bytes) epdrops(), // total early drops (pkts) ebdrops(), // total early drops (bytes) pdrops(), // total drops (pkts) bdrops(), // total drops (bytes) f-\>pdrops(), // drops this flow (pkts) [includes edrops] f-\>bdrops() // drops this flow (bytes) [includes edrops] );};</PRE>Most of the fields are explained in the code comments.The ``category'' is historical, but is used to maintain loose backward-compatibility with the flow manager format in version 1.<P><BR><HR><ADDRESS>2003-09-23</ADDRESS></BODY></HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -