1
0
mirror of https://github.com/moparisthebest/curl synced 2025-02-28 17:31:46 -05:00

curl_easy_getinfo.3: clarify some timing info

This commit is contained in:
Daniel Stenberg 2011-05-03 22:47:56 +02:00
parent 365db94e0a
commit ade337d79e

View File

@ -5,7 +5,7 @@
.\" * | (__| |_| | _ <| |___ .\" * | (__| |_| | _ <| |___
.\" * \___|\___/|_| \_\_____| .\" * \___|\___/|_| \_\_____|
.\" * .\" *
.\" * Copyright (C) 1998 - 2010, Daniel Stenberg, <daniel@haxx.se>, et al. .\" * Copyright (C) 1998 - 2011, Daniel Stenberg, <daniel@haxx.se>, et al.
.\" * .\" *
.\" * This software is licensed as described in the file COPYING, which .\" * This software is licensed as described in the file COPYING, which
.\" * you should have received as part of this distribution. The terms .\" * you should have received as part of this distribution. The terms
@ -80,12 +80,13 @@ waits in line for the pipeline and more. (Added in 7.19.0)
Pass a pointer to a double to receive the time, in seconds, it took from the Pass a pointer to a double to receive the time, in seconds, it took from the
start until the file transfer is just about to begin. This includes all start until the file transfer is just about to begin. This includes all
pre-transfer commands and negotiations that are specific to the particular pre-transfer commands and negotiations that are specific to the particular
protocol(s) involved. protocol(s) involved. It does \fInot\fP involve the sending of the protocol-
specific request that triggers a transfer.
.IP CURLINFO_STARTTRANSFER_TIME .IP CURLINFO_STARTTRANSFER_TIME
Pass a pointer to a double to receive the time, in seconds, it took from the Pass a pointer to a double to receive the time, in seconds, it took from the
start until the first byte is just about to be transferred. This includes start until the first byte is received by libcurl. This includes
CURLINFO_PRETRANSFER_TIME and also the time the server needs to calculate CURLINFO_PRETRANSFER_TIME and also the time the server needs to calculate the
the result. result.
.IP CURLINFO_REDIRECT_TIME .IP CURLINFO_REDIRECT_TIME
Pass a pointer to a double to receive the total time, in seconds, it took for Pass a pointer to a double to receive the total time, in seconds, it took for
all redirection steps include name lookup, connect, pretransfer and transfer all redirection steps include name lookup, connect, pretransfer and transfer
@ -275,7 +276,7 @@ file transfer is just about to begin. This includes all pre-transfer commands
and negotiations that are specific to the particular protocol(s) involved. and negotiations that are specific to the particular protocol(s) involved.
.IP STARTTRANSFER .IP STARTTRANSFER
\fICURLINFO_STARTTRANSFER_TIME\fP. The time it took from the start until the \fICURLINFO_STARTTRANSFER_TIME\fP. The time it took from the start until the
first byte is just about to be transferred. first byte is received by libcurl.
.IP TOTAL .IP TOTAL
\fICURLINFO_TOTAL_TIME\fP. Total time of the previous request. \fICURLINFO_TOTAL_TIME\fP. Total time of the previous request.
.IP REDIRECT .IP REDIRECT