Lines Matching refs:amount
126 pgrsSetDownloadCounter() - amount of data currently downloaded
127 pgrsSetUploadCounter() - amount of data currently uploaded
270 * The way it works is by having a "starting point" (time & amount of data
276 * This function takes the current amount of data transferred, the amount at
415 int countindex; /* amount of seconds stored in the speeder array */
441 curl_off_t amount;
454 amount = p->speeder[nowindex]- p->speeder[checkindex];
456 if(amount > CURL_OFF_T_C(4294967) /* 0xffffffff/1000 */)
457 /* the 'amount' value is bigger than would fit in 32 bits if
460 ((double)amount/((double)span_ms/1000.0));
462 /* the 'amount' value is small enough to fit within 32 bits even
464 p->current_speed = amount*CURL_OFF_T_C(1000)/span_ms;
541 /* Get the total amount of data expected to get transferred */