summaryrefslogtreecommitdiff
path: root/lib/multihandle.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/multihandle.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/multihandle.h')
-rw-r--r--lib/multihandle.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/multihandle.h b/lib/multihandle.h
index 7dd6a0a75..143aa88da 100644
--- a/lib/multihandle.h
+++ b/lib/multihandle.h
@@ -149,6 +149,9 @@ struct Curl_multi {
struct curltime timer_lastcall; /* the fixed time for the timeout for the
previous callback */
unsigned int max_concurrent_streams;
+#ifdef CURLDEBUG
+ struct curltime t_created;
+#endif
#ifdef USE_WINSOCK
WSAEVENT wsa_event; /* winsock event used for waits */