mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-07 18:40:42 +02:00
trying to fix packetloss print
This commit is contained in:
parent
0fddcd162d
commit
4fb26f833a
@ -1564,7 +1564,7 @@ int UDPStandardImplementation::createNewFile(int ithread){
|
||||
//Print packet loss and filenames
|
||||
if(!totalWritingPacketCount[ithread]){
|
||||
frameNumberInPreviousFile[ithread] = -1;
|
||||
printf("\nThread:%d File:%s\n",ithread,completeFileName[ithread]);
|
||||
printf("Thread:%d File:%s\n",ithread,completeFileName[ithread]);
|
||||
}else{
|
||||
if(frameNumberInPreviousFile[ithread] == -1)
|
||||
frameNumberInPreviousFile[ithread] = startFrameIndex;
|
||||
@ -2816,6 +2816,7 @@ void UDPStandardImplementation::writeFileWithoutCompression(int ithread, char* w
|
||||
totalPacketsCaught += packetsWritten;
|
||||
pthread_mutex_unlock(&writeMutex);
|
||||
currentFrameNumber[ithread] += lastFrameNumberInFile[ithread];
|
||||
if(!ithread)cprintf(BLUE,"currentFrameNumber[ithread]:%d\n",currentFrameNumber[ithread]);
|
||||
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user