Home
last modified time | relevance | path

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

/mOS-networking-stack/samples/epwget/
H A Depwget.c292 uint64_t tdiff; in DownloadNext() local
311 if (tdiff > 0) { in DownloadNext()
315 ctx->stat.sum_resp_time += tdiff; in DownloadNext()
316 if (tdiff > ctx->stat.max_resp_time) in DownloadNext()
317 ctx->stat.max_resp_time = tdiff; in DownloadNext()
339 uint64_t tdiff; in DownloadComplete() local
357 if (tdiff > 0) { in DownloadComplete()
359 sockid, (double)wv->recv / tdiff); in DownloadComplete()
361 ctx->stat.sum_resp_time += tdiff; in DownloadComplete()
362 if (tdiff > ctx->stat.max_resp_time) in DownloadComplete()
[all …]
H A Depwget-mp.c291 uint64_t tdiff; in DownloadNext() local
310 if (tdiff > 0) { in DownloadNext()
314 ctx->stat.sum_resp_time += tdiff; in DownloadNext()
315 if (tdiff > ctx->stat.max_resp_time) in DownloadNext()
316 ctx->stat.max_resp_time = tdiff; in DownloadNext()
338 uint64_t tdiff; in DownloadComplete() local
356 if (tdiff > 0) { in DownloadComplete()
358 sockid, (double)wv->recv / tdiff); in DownloadComplete()
360 ctx->stat.sum_resp_time += tdiff; in DownloadComplete()
361 if (tdiff > ctx->stat.max_resp_time) in DownloadComplete()
[all …]