cURL / Mailing Lists / curl-library / Single Mail

curl-library

How to measure current speed ?

From: winuser <winuser_at_o2.pl>
Date: Wed, 16 Dec 2009 00:16:45 +0100

Hello, i have simply question. How to measure current upload / download speed ? Not average, after end of upload. Anyone has suggestions ? Becouse if i calculate the speed in progress_callback function, i got value with resolution ~ 16 3xx bytes / s
So how to get higher resolution ?

When i`m trying to get info in another thread (curl_easy_getinfo function with CURLINFO_SIZE_UPLOAD) i got randomly values.
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2009-12-16