aboutsummaryrefslogtreecommitdiffstats
path: root/timestats.h
AgeCommit message (Collapse)AuthorFilesLines
2005-08-22Add a "time_stat_init()" routine to initialize the fields of aGuy Harris1-2/+4
"timestat_t". Move "nstime_to_msec()" to "epan/nstime.c", as it has nothing to do with a "timestat_t". Use structure assignment when possible. Fix the "addtime()" macro and use it in "time_stat_update()". Use "timestat_t"s, and the routines to manipulate them, in the service response time table code. svn path=/trunk/; revision=15509
2005-08-03From Richard van der Hoff:Anders Broman1-6/+0
Among the improvements are: - fixes to call-tracking (it's now less likely to confuse two separate calls, for instance) - improvements to Information Element dissection (clearer dissection, dissects more IE types, easier to extend) - you can now filter on the content of DTMF packets - Analysis of timestamps (calculation of absolute timestamp, and packet lateness). - fixed a couple of assertion failures in subtle corner-cases. negative relative times: - get_timedelta() - addtime() - ftype-time.c:relative_val_from_unparsed() I've also moved get_timedelta() and addtime() out of calldata.c into a new file, epan/nstime.c, as I needed to use them in a dissector I'm working on (and they therefore needed to go into libethereal). svn path=/trunk/; revision=15201
2004-12-31Make arguments "const *" if the routine doesn't modify the object toGuy Harris1-5/+10
which they point. svn path=/trunk/; revision=12887
2004-07-18Set the svn:eol-style property on all text files to "native", so thatGuy Harris1-1/+1
they have LF at the end of the line on UN*X and CR/LF on Windows; hopefully this means that if a CR/LF version is checked in on Windows, the CRs will be stripped so that they show up only when checked out on Windows, not on UN*X. svn path=/trunk/; revision=11400
2003-04-16From Lars Roland:Guy Harris1-0/+53
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