added the print temp losses

This commit is contained in:
Dhanya Maliakal 2016-11-08 16:08:48 +01:00
parent 9b9876e287
commit 964c76ac60

View File

@ -2905,7 +2905,6 @@ void UDPStandardImplementation::handleWithoutMissingPackets(int ithread, char* w
fwrite(wbuffer + HEADER_SIZE_NUM_TOT_PACKETS, 1, oneDataSize*packetsPerFrame+fifoBufferHeaderSize-HEADER_SIZE_NUM_TOT_PACKETS, sfilefd[ithread]);
}
if(npackets!=128) exit(-1);
totalPacketsInFile[ithread] += npackets;
totalWritingPacketCount[ithread] += npackets;
lastFrameNumberInFile[ithread] = tempframenumber;
@ -2938,7 +2937,6 @@ void UDPStandardImplementation::handleWithoutMissingPackets(int ithread, char* w
currentFrameNumber[ithread],
frameNumberInPreviousCheck[ithread]
);
}
//reset counters for each new file
if(totalWritingPacketCountFromLastCheck[ithread]){
@ -2946,6 +2944,10 @@ void UDPStandardImplementation::handleWithoutMissingPackets(int ithread, char* w
totalWritingPacketCountFromLastCheck[ithread] = 0;
}else
frameNumberInPreviousCheck[ithread] = -1;
}
if(npackets!=128) exit(-1);/******************/
totalWritingPacketCountFromLastCheck[ithread]+= npackets;