Home
last modified time | relevance | path

Searched refs:span_ms (Results 1 – 1 of 1) sorted by relevance

/external/curl/lib/
Dprogress.c330 long span_ms; in Curl_pgrsUpdate() local
339 span_ms = Curl_tvdiff(now, in Curl_pgrsUpdate()
341 if(0 == span_ms) in Curl_pgrsUpdate()
342 span_ms=1; /* at least one millisecond MUST have passed */ in Curl_pgrsUpdate()
353 ((double)amount/((double)span_ms/1000.0)); in Curl_pgrsUpdate()
357 data->progress.current_speed = amount*CURL_OFF_T_C(1000)/span_ms; in Curl_pgrsUpdate()