Wireshark

  • Riverbed Technology
  • WinPcap
the world's foremost network protocol analyzer
  • Wireshark
    • About
    • Download
    • Blog
  • Get Help
    • Ask a Question
    • FAQs
    • Documentation
    • Mailing Lists
    • Online Tools
    • Wiki
    • Bug Tracker
  • Develop
    • Get Involved
    • Developer's Guide
    • Browse the Code
    • Latest Builds

Wireshark-users: Re: [Wireshark-users] wireshark throughput calculation

Date Index Thread Index Other Months All Mailing Lists
Date Prev Date Next Thread Prev Thread Next


From: Stephen Fisher <stephentfisher@xxxxxxxxx>
Date: Mon, 8 Jan 2007 14:13:26 -0800

On Mon, Jan 08, 2007 at 02:03:49PM -0800, Stephen Fisher wrote:
> On Fri, Jan 05, 2007 at 03:26:02PM +0100, To Van Phu wrote:
> > 
> > Is it the time elapsed since the previous packet?
> 
> Yes.  This is the relevent code from gtk/tcp_graph.c in function 
> tput_make_elmtlist():
> 
> 	double time = tmp->rel_secs + tmp->rel_usecs/1000000.0;
> 	dtime = time - (oldest->rel_secs + oldest->rel_usecs/1000000.0);
> 
> 	sum += tmp->th_seglen;
> 	tput = sum / dtime;

Let me correct myself: the use of the name oldest sounds like it uses 
the first packet's time delta to the current packet.  I haven't looked 
very closely at all of the code though sorry.


Steve

  • References:
    • [Wireshark-users] wireshark throughput calculation
      • From: To Van Phu
    • Re: [Wireshark-users] wireshark throughput calculation
      • From: Stephen Fisher
  • Prev by Date: Re: [Wireshark-users] wireshark throughput calculation
  • Next by Date: Re: [Wireshark-users] Analysing MSN traffic
  • Previous by thread: Re: [Wireshark-users] wireshark throughput calculation
  • Next by thread: [Wireshark-users] Convert G.729 to audio?
  • Index(es):
    • Date
    • Thread

Wireshark and the "fin" logo are registered trademarks of the Wireshark Foundation