equal
deleted
inserted
replaced
380 // ---------------------------------------------------------------------------- |
380 // ---------------------------------------------------------------------------- |
381 // |
381 // |
382 void CHttpClient::DisplayTimeElapsed() |
382 void CHttpClient::DisplayTimeElapsed() |
383 { |
383 { |
384 // Throughput calculation |
384 // Throughput calculation |
385 TInt size = OverallDataSize(); |
385 TUint64 packets = iSettingData->iPackets; |
|
386 TUint64 packetSize = iSettingData->iPacketSize; |
|
387 TUint64 size = packets*packetSize; |
|
388 |
386 TBuf8<128> b(_L8("Body sent\n")); |
389 TBuf8<128> b(_L8("Body sent\n")); |
387 Utils::CalculateThroughput(b, iLastTimeStamp, size); |
390 Utils::CalculateThroughput(b, iLastTimeStamp, size); |
388 |
391 |
389 b.Append(_L("\n\n")); |
392 b.Append(_L("\n\n")); |
390 iConsole.PrintNotify(b); |
393 iConsole.PrintNotify(b); |