summaryrefslogtreecommitdiff
path: root/lib/progress.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/progress.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/progress.h')
-rw-r--r--lib/progress.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/progress.h b/lib/progress.h
index 5719b18e2..eedf8b765 100644
--- a/lib/progress.h
+++ b/lib/progress.h
@@ -39,6 +39,9 @@ typedef enum {
TIMER_POSTRANSFER,
TIMER_STARTACCEPT,
TIMER_REDIRECT,
+#ifdef CURLDEBUG
+ TIMER_ADDED,
+#endif
TIMER_LAST /* must be last */
} timerid;