cURL / Mailing Lists / curl-library / Single Mail

curl-library

Curl timer resolution

From: Dirk Manske <dm_at_sysformance.com>
Date: Thu, 8 Apr 2004 14:29:35 +0200

Hi,

IMHO the curl time informations CURLINFO_*_TIME should use
the full time resolution that is supported by gettimeofday (which is usec
on Un*x). Attached patch avoid rounding to msecs.

Yet another opinion: CURLINFO_NAMELOOKUP_TIME and
CURLINFO_CONNECT_TIME should be zero if no lookup or
connect was needed for the transfer. Or a new CURLINFO_*
is needed to transport that information.

Daniel: Will you accept an according patch?

Bye,
D

Received on 2004-04-08