Lines Matching defs:now
238 * fresh "now" and returns it.
244 struct curltime now = Curl_now();
246 Curl_pgrsTimeWas(data, timer, now);
247 return now;
288 struct curltime now)
315 actual = Curl_timediff_ceil(now, start);
337 void Curl_ratelimit(struct Curl_easy *data, struct curltime now)
341 if(Curl_timediff(now, data->progress.dl_limit_start) >=
343 data->progress.dl_limit_start = now;
348 if(Curl_timediff(now, data->progress.ul_limit_start) >=
350 data->progress.ul_limit_start = now;
403 static bool progress_calc(struct Curl_easy *data, struct curltime now)
409 p->timespent = Curl_timediff_us(now, p->start);
414 if(p->lastshow != now.tv_sec) {
417 p->lastshow = now.tv_sec;
425 p->speeder_time [ nowindex ] = now;
449 span_ms = Curl_timediff(now, p->speeder_time[checkindex]);
592 struct curltime now = Curl_now(); /* what time is it */
593 bool showprogress = progress_calc(data, now);