mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-23 23:10:02 +02:00
added the print temp losses
This commit is contained in:
parent
9b9876e287
commit
964c76ac60
@ -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;
|
||||
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user