mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-24 23:30:03 +02:00
removed prints
This commit is contained in:
parent
e2299b5269
commit
3b07fd602b
@ -1582,6 +1582,7 @@ int UDPStandardImplementation::createNewFile(int ithread){
|
|||||||
//Print packet loss and filenames
|
//Print packet loss and filenames
|
||||||
if(!totalWritingPacketCount[ithread]){
|
if(!totalWritingPacketCount[ithread]){
|
||||||
frameNumberInPreviousFile[ithread] = -1;
|
frameNumberInPreviousFile[ithread] = -1;
|
||||||
|
cprintf(RED,"frameNumberInPreviousFile:%d\n",frameNumberInPreviousFile[ithread]);
|
||||||
//printf("Thread:%d File:%s\n",ithread,completeFileName[ithread]);
|
//printf("Thread:%d File:%s\n",ithread,completeFileName[ithread]);
|
||||||
}else{
|
}else{
|
||||||
|
|
||||||
@ -2739,14 +2740,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);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user