1
0
mirror of https://github.com/moparisthebest/curl synced 2024-08-13 17:03:50 -04:00

corrected the CURLINFO_TOTAL_TIME description

This commit is contained in:
Daniel Stenberg 2006-06-08 11:06:26 +00:00
parent 990e56fb13
commit 6a151c1312

View File

@ -63,10 +63,8 @@ information before the transfer is made, by using the CURLOPT_FILETIME option
to \fIcurl_easy_setopt(3)\fP or you will unconditionally get a -1 back. (Added to \fIcurl_easy_setopt(3)\fP or you will unconditionally get a -1 back. (Added
in 7.5) in 7.5)
.IP CURLINFO_TOTAL_TIME .IP CURLINFO_TOTAL_TIME
Pass a pointer to a double to receive the total transaction time in seconds Pass a pointer to a double to receive the total time in seconds for the
for the previous transfer. This time does not include the connect time, so if previous transfer, including name resolving, TCP connect etc.
you want the complete operation time, you should add the
CURLINFO_CONNECT_TIME.
.IP CURLINFO_NAMELOOKUP_TIME .IP CURLINFO_NAMELOOKUP_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 name resolving was completed. start until the name resolving was completed.
@ -182,7 +180,7 @@ curl_easy_perform()
|--|--CT |--|--CT
|--|--|--PT |--|--|--PT
|--|--|--|--ST |--|--|--|--ST
|--|--|--TT |--|--|--|--|--TT
|--|--|--|--|--RT |--|--|--|--|--RT
.FI .FI
.IP NT .IP NT
@ -199,9 +197,7 @@ and negotiations that are specific to the particular protocol(s) involved.
\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 just about to be transferred.
.IP TT .IP TT
\fICURLINFO_TOTAL_TIME\fP. Time of the previous transfer. This time does not \fICURLINFO_TOTAL_TIME\fP. Total time of the previous request.
include the connect time (CT), so if you want the complete operation time, you
should add that.
.IP RT .IP RT
\fICURLINFO_REDIRECT_TIME\fP. The time it took for all redirection steps \fICURLINFO_REDIRECT_TIME\fP. The time it took for all redirection steps
include name lookup, connect, pretransfer and transfer before final include name lookup, connect, pretransfer and transfer before final