mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-04-26 16:20:03 +02:00
progress bug
This commit is contained in:
parent
5fb38694d3
commit
274fffa609
@ -1576,8 +1576,6 @@ int UDPStandardImplementation::createNewFile(int ithread){
|
|||||||
frameNumberInPreviousFile[ithread] = -1;
|
frameNumberInPreviousFile[ithread] = -1;
|
||||||
//printf("Thread:%d File:%s\n",ithread,completeFileName[ithread]);
|
//printf("Thread:%d File:%s\n",ithread,completeFileName[ithread]);
|
||||||
}else{
|
}else{
|
||||||
if(frameNumberInPreviousFile[ithread] == -1)
|
|
||||||
frameNumberInPreviousFile[ithread] = startFrameIndex -1;
|
|
||||||
|
|
||||||
printf("\nThread:%d File:%s\n"
|
printf("\nThread:%d File:%s\n"
|
||||||
//"\ttotalpacketsinfile:%d\t"
|
//"\ttotalpacketsinfile:%d\t"
|
||||||
@ -2236,7 +2234,7 @@ int UDPStandardImplementation::prepareAndListenBuffer(int ithread, int cSize, ch
|
|||||||
|
|
||||||
|
|
||||||
|
|
||||||
void UDPStandardImplementation::startFrameIndices(int ithread){cprintf(RED,"at startframeindeices\n");
|
void UDPStandardImplementation::startFrameIndices(int ithread){
|
||||||
FILE_LOG(logDEBUG) << __AT__ << " called";
|
FILE_LOG(logDEBUG) << __AT__ << " called";
|
||||||
|
|
||||||
//determine startFrameIndex
|
//determine startFrameIndex
|
||||||
@ -2733,8 +2731,6 @@ void UDPStandardImplementation::stopWriting(int ithread, char* wbuffer){
|
|||||||
}
|
}
|
||||||
|
|
||||||
if(totalWritingPacketCount[ithread]){
|
if(totalWritingPacketCount[ithread]){
|
||||||
if(frameNumberInPreviousFile[ithread]==-1)
|
|
||||||
frameNumberInPreviousFile[ithread] = startFrameIndex-1;
|
|
||||||
|
|
||||||
printf("\nThread:%d File:%s\n"
|
printf("\nThread:%d File:%s\n"
|
||||||
"\ttotalpacketsinfile:%d\t"
|
"\ttotalpacketsinfile:%d\t"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user