nettools/conntest/Engine/HttpHandler.cpp
branchRCL_3
changeset 37 22633ca47dfe
parent 32 3ba072830a8a
child 41 4399c14e1ad0
equal deleted inserted replaced
32:3ba072830a8a 37:22633ca47dfe
   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);