mirror of
https://github.com/curl/curl.git
synced 2026-05-30 03:47:27 +03:00
parent
6a3d0b6d63
commit
9570fa7908
2 changed files with 3 additions and 3 deletions
|
|
@ -245,8 +245,8 @@ The time, in seconds, it took from the start until the name resolving was
|
|||
completed.
|
||||
|
||||
## `time_posttransfer`
|
||||
The time it took from the start until the last byte is sent by libcurl.
|
||||
In microseconds. (Added in 8.10.0)
|
||||
The time, in seconds, it took from the start until the last byte is sent
|
||||
by libcurl. (Added in 8.10.0)
|
||||
|
||||
## `time_pretransfer`
|
||||
The time, in seconds, it took from the start until the file transfer was just
|
||||
|
|
|
|||
|
|
@ -53,7 +53,7 @@ int main(void)
|
|||
res = curl_easy_getinfo(curl, CURLINFO_POSTTRANSFER_TIME_T,
|
||||
&posttransfer);
|
||||
if(CURLE_OK == res) {
|
||||
printf("Request sent after: %" CURL_FORMAT_CURL_OFF_T ".%06ld us",
|
||||
printf("Request sent after: %" CURL_FORMAT_CURL_OFF_T ".%06ld s",
|
||||
posttransfer / 1000000, (long)(posttransfer % 1000000));
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue