mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-19 16:27:13 +02:00
progress bug
This commit is contained in:
@ -2733,14 +2733,14 @@ void UDPStandardImplementation::stopWriting(int ithread, char* wbuffer){
|
|||||||
if(totalWritingPacketCount[ithread]){
|
if(totalWritingPacketCount[ithread]){
|
||||||
|
|
||||||
printf("\nThread:%d File:%s\n"
|
printf("\nThread:%d File:%s\n"
|
||||||
"\ttotalpacketsinfile:%d\t"
|
//"\ttotalpacketsinfile:%d\t"
|
||||||
"Packets Lost:%d"
|
"Packets Lost:%d"
|
||||||
"\tCurrentFrameNumber:%lld\tPreviousFrameNumber:%lld"
|
//"\tCurrentFrameNumber:%lld\tPreviousFrameNumber:%lld"
|
||||||
"\n",
|
"\n",
|
||||||
ithread,completeFileName[ithread],
|
ithread,completeFileName[ithread],
|
||||||
totalPacketsInFile[ithread],
|
//totalPacketsInFile[ithread],
|
||||||
( ((int)(currentFrameNumber[ithread]-frameNumberInPreviousFile[ithread])*packetsPerFrame) - totalPacketsInFile[ithread])
|
( ((int)(currentFrameNumber[ithread]-frameNumberInPreviousFile[ithread])*packetsPerFrame) - totalPacketsInFile[ithread])
|
||||||
,currentFrameNumber[ithread],frameNumberInPreviousFile[ithread]
|
//,currentFrameNumber[ithread],frameNumberInPreviousFile[ithread]
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
closeFile(ithread);
|
closeFile(ithread);
|
||||||
|
Reference in New Issue
Block a user