Ethereal-cvs: [Ethereal-cvs] cvs commit: ethereal/gtk service_response_time_table.c

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Ronnie Sahlberg <sahlberg@xxxxxxxxxxxxxxxxx>
Date: Wed, 3 Sep 2003 05:10:18 -0500 (CDT)
sahlberg    2003/09/03 05:10:18 CDT

  Modified files:
    gtk                  service_response_time_table.c 
  Log:
  fix to various stats tables.
  
  The code used to rely on min_time==0 to determine whether this was the first
  packet or not and whereby we had to initialize min_time to the current value.
  
  This obviously does not work for capture files with poor timestamp resolution
  where the response time is actually, according to the capture file, 0
  and we got all sorts of weird effects like average response time being less than the minimum response time.
  
  note, the bug only affected the minimum response time in the tables and not max or average response time.
  it would "miss" tose minimum response times that were ==0 and display the minumin response time in the capture that were >0
  
  Revision  Changes    Path
  1.6       +4 -5      ethereal/gtk/service_response_time_table.c