summaryrefslogtreecommitdiff
path: root/lib/urldata.h
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2023-01-09 15:28:34 +0100
committerDaniel Stenberg <daniel@haxx.se>2023-01-09 15:28:56 +0100
commite6f1e0dbb132d8c932e1ae889eb5af787b0b3cb5 (patch)
treee760629e17470ca9ead20d4bd1b60f4dcb73927f /lib/urldata.h
parent1c5d8acf79efcf40ba20a232c4133fc81700c809 (diff)
downloadcurl-bagder/time-added.tar.gz
getinfo: add CURLINFO_ADDED_TIME_Tbagder/time-added
The relative time from the creation of the multi handle until the easy handle reached the DO state. initial take for debug and discussion purposes The name shall be improved/set once we agree on the exact time it is set.
Diffstat (limited to 'lib/urldata.h')
-rw-r--r--lib/urldata.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/urldata.h b/lib/urldata.h
index 87e4b052a..d192c2798 100644
--- a/lib/urldata.h
+++ b/lib/urldata.h
@@ -1164,6 +1164,9 @@ struct Progress {
timediff_t t_pretransfer;
timediff_t t_starttransfer;
timediff_t t_redirect;
+#ifdef CURLDEBUG
+ timediff_t t_added;
+#endif
struct curltime start;
struct curltime t_startsingle;