aboutsummaryrefslogtreecommitdiffstats
path: root/epan/nstime.c
Commit message (Collapse)AuthorAgeFilesLines
* Whitespace cleanup:Bill Meier2011-09-211-16/+16
| | | | | | | | Use consistent indentation; Convert "4 space tabs" to spaces; Remove trailing whitespace. svn path=/trunk/; revision=39082
* Fix ex "modeline" so it works;Bill Meier2011-09-211-1/+1
| | | | | | See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5748 svn path=/trunk/; revision=39081
* Removed nstime_diff() in favour of nstime_delta().Stig Bjørlykke2011-08-211-18/+0
| | | | | | Use nstime_delta() in nstime_subtract(). svn path=/trunk/; revision=38647
* From Edwin Groothuis via bug 6179:Stig Bjørlykke2011-08-131-0/+10
| | | | | | Add nstime_copy. svn path=/trunk/; revision=38509
* Added two new functions: nstime_diff() and nstime_subtract().Stig Bjørlykke2010-10-271-0/+18
| | | | svn path=/trunk/; revision=34660
* Auto size COL_NUMBER, COL_PACKET_LENGTH and COL_CUMULATIVE_BYTESKovarththanan Rajaratnam2009-09-071-1/+1
| | | | svn path=/trunk/; revision=29778
* Don't call an argument "time", as this is a function.Stig Bjørlykke2008-06-231-6/+6
| | | | svn path=/trunk/; revision=25538
* Add relative start time, duration, and average data rate (bps) columnsGerald Combs2007-11-201-4/+35
| | | | | | | | to the conversation lists. Move the "copy" button down to the button bar in order to free up some real estate. Add an nstime_cmp() function. Clean up code in a few places. svn path=/trunk/; revision=23516
* From Sake Blok:Stephen Fisher2007-05-211-0/+20
| | | | | | | Fix for bug #1056 svn path=/trunk/; revision=21867
* Fix warnings on Linux/gcc 4.1.1Stephen Fisher2007-04-031-0/+9
| | | | svn path=/trunk/; revision=21330
* name changeRonnie Sahlberg2006-05-211-2/+2
| | | | svn path=/trunk/; revision=18197
* EVERYTHING IN THE BUILDBOT IS GOING TO BE RED!!! Sorry! Ulf Lamping2005-08-241-4/+33
| | | | | | | | | | | | | | I've done more than a day to change the timestamp resolution from microseconds to nanoseconds. As I really don't want to loose those changes, I'm going to check in the changes I've done so far. Hopefully someone else will give me a helping hand with the things left ... What's done: I've changed the timestamp resolution from usec to nsec in almost any place in the sources. I've changed parts of the implementation in nstime.s/.h and a lot of places elsewhere. As I don't understand the editcap source (well, I'm maybe just too tired right now), hopefully someone else might be able to fix this soon. Doing all those changes, we get native nanosecond timestamp resolution in Ethereal. After fixing all the remaining issues, I'll take a look how to display this in a convenient way... As I've also changed the wiretap timestamp resolution from usec to nsec we might want to change the wiretap version number... svn path=/trunk/; revision=15520
* Add a "time_stat_init()" routine to initialize the fields of aGuy Harris2005-08-221-0/+11
| | | | | | | | | | | | | | | | "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
* From Richard van der Hoff:Anders Broman2005-08-031-0/+92
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