aboutsummaryrefslogtreecommitdiff
path: root/docs/libcurl/getinfo-times
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-06-03 21:38:40 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-06-03 21:38:40 +0000
commiteb162b73c2d619fd7db922aa92a43edb55548a8f (patch)
tree6f8ad47e83b33154c055b6fe9e7a14539bf62739 /docs/libcurl/getinfo-times
parent29aafb9cea842321e7379685e33194a1b34bb0dc (diff)
first rough version
Diffstat (limited to 'docs/libcurl/getinfo-times')
-rw-r--r--docs/libcurl/getinfo-times27
1 files changed, 27 insertions, 0 deletions
diff --git a/docs/libcurl/getinfo-times b/docs/libcurl/getinfo-times
new file mode 100644
index 000000000..d767d7aae
--- /dev/null
+++ b/docs/libcurl/getinfo-times
@@ -0,0 +1,27 @@
+An overview of the six time values available from curl_easy_getinfo()
+
+curk_easy_perform()
+ |
+ |--NT
+ |--|--CT
+ |--|--|--PT
+ |--|--|--|--ST
+ |--|--|--TT
+ |--|--|--|--|--RT
+
+NT = CURLINFO_NAMELOOKUP_TIME. The time it took from the start until the name
+ resolving was completed.
+CT = CURLINFO_CONNECT_TIME. The time it took from the start until the connect
+ to the remote host (or proxy) was completed.
+PT = CURLINFO_PRETRANSFER_TIME. The time it took from the start until the file
+ transfer is just about to begin. This includes all pre-transfer commands
+ and negotiations that are specific to the particular protocol(s)
+ involved.
+ST = CURLINFO_STARTTRANSFER_TIME. The time it took from the start until the
+ first byte is just about to be transferred.
+TT = CURLINFO_TOTAL_TIME. Time of the previous transfer. This time does not
+ include the connect time (CT), so if you want the complete operation
+ time, you should add that.
+RT = CURLINFO_REDIRECT_TIME. The time it took for all redirection steps
+ include name lookup, connect, pretransfer and transfer before final
+ transaction was started. So, this is zero if no redirection took place.