]> granicus.if.org Git - curl/commit
timers: store internal time stamps as time_t instead of doubles
authorDaniel Stenberg <daniel@haxx.se>
Wed, 7 Jun 2017 11:16:56 +0000 (13:16 +0200)
committerDaniel Stenberg <daniel@haxx.se>
Wed, 14 Jun 2017 14:46:39 +0000 (15:46 +0100)
commitadef394ac5390e80227c949cbea4a7c22a114677
tree182b36490d31233aff436b329d3d33ae13f9d4bf
parent11c2fb04467520b82f2251629710e6d4a0798700
timers: store internal time stamps as time_t instead of doubles

This gives us accurate precision and it allows us to avoid storing "no
time" for systems with too low timer resolution as we then bump the time
up to 1 microsecond. Should fix test 573 on windows.

Remove the now unused curlx_tvdiff_secs() function.

Maintains the external getinfo() API with using doubles.

Fixes #1531
lib/getinfo.c
lib/progress.c
lib/timeval.c
lib/timeval.h
lib/urldata.h