mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-28 01:00:02 +02:00
trying to fix packetloss print
This commit is contained in:
parent
4fb26f833a
commit
636d5840aa
@ -1567,7 +1567,7 @@ int UDPStandardImplementation::createNewFile(int ithread){
|
||||
printf("Thread:%d File:%s\n",ithread,completeFileName[ithread]);
|
||||
}else{
|
||||
if(frameNumberInPreviousFile[ithread] == -1)
|
||||
frameNumberInPreviousFile[ithread] = startFrameIndex;
|
||||
frameNumberInPreviousFile[ithread] = startFrameIndex -1;
|
||||
|
||||
printf("\nThread:%d File:%s\n"
|
||||
"\ttotalpacketsinfile:%d\tPackets Lost:%d\tCurrentFrameNumber:%lld\tPreviousFrameNumber:%lld\n",
|
||||
@ -2620,7 +2620,7 @@ void UDPStandardImplementation::stopWriting(int ithread, char* wbuffer){
|
||||
|
||||
if(totalWritingPacketCount[ithread]){
|
||||
if(frameNumberInPreviousFile[ithread]==-1)
|
||||
frameNumberInPreviousFile[ithread] = startFrameIndex;
|
||||
frameNumberInPreviousFile[ithread] = startFrameIndex-1;
|
||||
|
||||
printf("\nThread:%d File:%s\n"
|
||||
"\ttotalpacketsinfile:%d\tPackets Lost:%d\tCurrentFrameNumber:%lld\tPreviousFrameNumber:%lld\n",
|
||||
|
Loading…
x
Reference in New Issue
Block a user