aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libdash/source/network/AbstractChunk.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/libdash/source/network/AbstractChunk.cpp b/libdash/source/network/AbstractChunk.cpp
index 35774efe..81a3d57c 100644
--- a/libdash/source/network/AbstractChunk.cpp
+++ b/libdash/source/network/AbstractChunk.cpp
@@ -167,6 +167,9 @@ void* AbstractChunk::DownloadInternalConnection (void *abstractchunk)
curl_easy_getinfo(chunk->curl, CURLINFO_SPEED_DOWNLOAD,&speed);
curl_easy_getinfo(chunk->curl, CURLINFO_SIZE_DOWNLOAD, &size);
curl_easy_getinfo(chunk->curl, CURLINFO_TOTAL_TIME, &time);
+
+ std::cout << "Download " << chunk->AbsoluteURI() << " duration: " << (time * 1000000) << " [usec] size " << size <<
+ " [bytes] speed " << (speed*8)/1000 << " [kbps] " << std::endl;
//Speed is in Bps ==> *8 for the bps
speed = 8*speed;