Home
last modified time | relevance | path

Searched refs:speed (Results 1 – 25 of 27) sorted by relevance

12

/curl/docs/cmdline-opts/
H A Dspeed-time.md4 Long: speed-time
7 Help: Trigger 'speed-limit' abort after this time
12 - speed-limit
15 - --speed-limit 300 --speed-time 10 $URL
18 # `--speed-time`
20 If a transfer runs slower than speed-limit bytes per second during a
21 speed-time period, the transfer is aborted. If speed-time is used, the default
22 speed-limit is 1 unless set with --speed-limit.
H A Dspeed-limit.md4 Long: speed-limit
6 Arg: <speed>
12 - speed-time
16 - --speed-limit 300 --speed-time 10 $URL
19 # `--speed-limit`
21 If a transfer is slower than this set speed (in bytes per second) for a given
22 number of seconds, it gets aborted. The time period is set with --speed-time
H A Dlimit-rate.md5 Arg: <speed>
6 Help: Limit transfer speed to RATE
12 - speed-limit
13 - speed-time
27 The given speed is measured in bytes/second, unless a suffix is appended.
32 The rate limiting logic works on averaging the transfer speed to no more than
35 If you also use the --speed-limit option, that option takes precedence and
36 might cripple the rate-limiting slightly, to help keeping the speed-limit
H A DMakefile.inc265 speed-limit.md \
266 speed-time.md \
H A Dwrite-out.md192 The average download speed that curl measured for the complete download. Bytes
196 The average upload speed that curl measured for the complete upload. Bytes per
/curl/docs/libcurl/opts/
H A DCURLINFO_SPEED_DOWNLOAD_T.md19 CURLINFO_SPEED_DOWNLOAD_T - get download speed
27 curl_off_t *speed);
32 Pass a pointer to a *curl_off_t* to receive the average download speed
51 curl_off_t speed;
52 res = curl_easy_getinfo(curl, CURLINFO_SPEED_DOWNLOAD_T, &speed);
54 printf("Download speed %" CURL_FORMAT_CURL_OFF_T " bytes/sec\n",
55 speed);
H A DCURLINFO_SPEED_UPLOAD_T.md18 CURLINFO_SPEED_UPLOAD_T - get upload speed
26 curl_off_t *speed);
31 Pass a pointer to a *curl_off_t* to receive the average upload speed that
50 curl_off_t speed;
51 res = curl_easy_getinfo(curl, CURLINFO_SPEED_UPLOAD_T, &speed);
53 printf("Upload speed %" CURL_FORMAT_CURL_OFF_T " bytes/sec\n", speed);
H A DCURLINFO_SPEED_UPLOAD.md18 CURLINFO_SPEED_UPLOAD - get upload speed
25 CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_SPEED_UPLOAD, double *speed);
30 Pass a pointer to a double to receive the average upload speed that curl
52 double speed;
53 res = curl_easy_getinfo(curl, CURLINFO_SPEED_UPLOAD, &speed);
55 printf("Upload speed %.0f bytes/sec\n", speed);
H A DCURLINFO_SPEED_DOWNLOAD.md19 CURLINFO_SPEED_DOWNLOAD - get download speed
27 double *speed);
32 Pass a pointer to a double to receive the average download speed that curl
54 double speed;
55 res = curl_easy_getinfo(curl, CURLINFO_SPEED_DOWNLOAD, &speed);
57 printf("Download speed %.0f bytes/sec\n", speed);
H A DCURLOPT_MAX_SEND_SPEED_LARGE.md17 CURLOPT_MAX_SEND_SPEED_LARGE - rate limit data upload speed
31 this speed (counted in bytes per second) the transfer pauses to keep the
32 average speed less than or equal to the parameter value. Defaults to unlimited
33 speed.
35 This is not an exact science. libcurl attempts to keep the average speed below
59 /* cap the upload speed to 1000 bytes/sec */
H A DCURLOPT_MAX_RECV_SPEED_LARGE.md18 CURLOPT_MAX_RECV_SPEED_LARGE - rate limit data download speed
32 (counted in bytes per second) the transfer pauses to keep the average speed
33 less than or equal to the parameter value. Defaults to unlimited speed.
35 This is not an exact science. libcurl attempts to keep the average speed below
58 /* cap the download speed to 31415 bytes/sec */
H A DCURLOPT_LOW_SPEED_TIME.md17 CURLOPT_LOW_SPEED_TIME - low speed limit time period
31 transfer speed should be below the CURLOPT_LOW_SPEED_LIMIT(3) for the
H A DCURLOPT_LOW_SPEED_LIMIT.md19 CURLOPT_LOW_SPEED_LIMIT - low speed limit in bytes per second
32 Pass a long as parameter. It contains the average transfer speed in bytes per
H A DCURLOPT_CA_CACHE_TIMEOUT.md44 speed up future connections.
/curl/tests/unit/
H A Dunit1606.c52 curl_off_t speed, in runawhile() argument
66 easy->progress.current_speed = speed; in runawhile()
72 speed -= dec; in runawhile()
/curl/src/
H A Dtool_progress.c190 curl_off_t speed = 0; in progress_meter() local
260 speed = dls > uls ? dls : uls; in progress_meter()
264 if(dlknown && speed) { in progress_meter()
265 curl_off_t est = all_dltotal / speed; in progress_meter()
266 curl_off_t left = (all_dltotal - all_dlnow) / speed; in progress_meter()
299 max5data(speed, buffer[2]), /* speed */ in progress_meter()
/curl/tests/data/
H A Dtest57230 speed=ludicrous
81 speed
101 speed
/curl/lib/
H A Dprogress.c411 p->dl.speed = trspeed(p->dl.cur_size, p->timespent); in progress_calc()
412 p->ul.speed = trspeed(p->ul.cur_size, p->timespent); in progress_calc()
469 p->current_speed = p->ul.speed + p->dl.speed; in progress_calc()
497 if(total_known && (d->speed > CURL_OFF_T_C(0))) { in pgrs_estimates()
498 est->secs = d->total_size / d->speed; in pgrs_estimates()
564 max5data(p->dl.speed, max5[3]), /* avrg dl speed */ in progress_meter()
565 max5data(p->ul.speed, max5[4]), /* avrg ul speed */ in progress_meter()
H A Dgetinfo.c402 *param_offt = data->progress.dl.speed; in getinfo_offt()
405 *param_offt = data->progress.ul.speed; in getinfo_offt()
512 *param_doublep = (double)data->progress.dl.speed; in getinfo_double()
515 *param_doublep = (double)data->progress.ul.speed; in getinfo_double()
H A Durldata.h1063 curl_off_t speed; /* bytes per second transferred */ member
/curl/docs/libcurl/
H A Dcurl_easy_getinfo.md318 (**Deprecated**) Average download speed. See CURLINFO_SPEED_DOWNLOAD(3)
322 Average download speed. See CURLINFO_SPEED_DOWNLOAD_T(3)
326 (**Deprecated**) Average upload speed. See CURLINFO_SPEED_UPLOAD(3)
330 Average upload speed in number of bytes per second. See
H A Dcurl_easy_pause.md54 A paused transfer is excluded from low speed cancels via the
56 time period required for the low speed limit to be met.
H A Dcurl_easy_setopt.md551 Low speed limit to abort transfer. See CURLOPT_LOW_SPEED_LIMIT(3)
555 Time to be below the speed to trigger low speed abort. See
603 Cap the download speed to this. See CURLOPT_MAX_RECV_SPEED_LARGE(3)
607 Cap the upload speed to this. See CURLOPT_MAX_SEND_SPEED_LARGE(3)
/curl/docs/
H A Doptions-in-versions230 --speed-limit (-Y) 4.7
231 --speed-time (-y) 4.7
H A DKNOWN_BUGS613 It has been observered that by making the speed limit less accurate we could

Completed in 33 milliseconds

12