Changeset 248 in flair-src for trunk/tools/FlairGCS/src/UdtSocket.cpp
- Timestamp:
- 06/04/18 14:45:37 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/tools/FlairGCS/src/UdtSocket.cpp
r247 r248 36 36 socketType=unknown; 37 37 total_received=0; 38 pktSndLossTotal=0; 38 39 39 40 bool blocking = false; … … 54 55 udtstats_timer->stop(); 55 56 if(destroySocket) UDT::close(socket); 56 fprintf(stderr,"fin udt\n");57 57 } 58 58 … … 95 95 96 96 }*/ 97 bool loosingPackets=false; 98 if(perf.pktSndLossTotal>pktSndLossTotal) loosingPackets=true; 99 pktSndLossTotal=perf.pktSndLossTotal; 97 100 stats=QString("rx rate %1kB/s, round trip %2ms, lost packets %3").arg(rxRate,0,'f',3).arg(perf.msRTT,0,'f',3).arg(perf.pktSndLossTotal); 98 UDTStats(stats); 99 101 UDTStats(stats,loosingPackets); 100 102 } 101 103 … … 124 126 return; 125 127 } 126 //f fprintf(stderr,stderr,"receiveData %x\n",thread());128 //fprintf(stderr,stderr,"receiveData %x\n",thread()); 127 129 128 130 while (!stop) {
Note:
See TracChangeset
for help on using the changeset viewer.