cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: --trace-time times and wireshark timestamps differ

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 30 Jun 2016 13:06:38 +0200 (CEST)

On Thu, 30 Jun 2016, Tim Ruehsen wrote:

> Curl is using CLOCK_MONOTONIC for the milliseconds while wireshark (and all
> other tools I know of) use CLOCK_REALTIME.

Ah. Yeah I have no particular explanation why we use CLOCK_MONOTONIC other
than the simple fact that it makes internal timeouts etc easier since it'll
never step backwards...

-- 
  / daniel.haxx.se
-------------------------------------------------------------------
List admin: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:  https://curl.haxx.se/mail/etiquette.html
Received on 2016-06-30