aboutsummaryrefslogtreecommitdiffstats
path: root/timestats.c
AgeCommit message (Collapse)AuthorFilesLines
2003-09-03fix to various stats tables.Ronnie Sahlberg1-5/+3
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 svn path=/trunk/; revision=8358
2003-04-16From Lars Roland:Guy Harris1-0/+132
Add Response-Time statistics for each known mgcp message-type. Fix a few bugs and remove trailing whitespace. Use "gdouble" for printing time-values and calculating the average. It is easier to use and shouldn't overflow on big trace files like "guint32". Move some functions for time statistics into the new file timestats.c in the main directory. This code may be useful in the rpc and smb rtt-taps as well. svn path=/trunk/; revision=7469