mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-15 14:27:13 +02:00
trying to fix packetloss print
This commit is contained in:
@ -1573,7 +1573,7 @@ int UDPStandardImplementation::createNewFile(int ithread){
|
|||||||
cout << "Thread " << ithread << " File:" << completeFileName[ithread] << endl;
|
cout << "Thread " << ithread << " File:" << completeFileName[ithread] << endl;
|
||||||
}else{
|
}else{
|
||||||
if(frameNumberInPreviousFile[ithread] == -1)
|
if(frameNumberInPreviousFile[ithread] == -1)
|
||||||
frameNumberInPreviousFile[ithread] = startFrameIndex - 1;
|
frameNumberInPreviousFile[ithread] = startFrameIndex;
|
||||||
|
|
||||||
cout
|
cout
|
||||||
//<< "Packet Loss:" <<
|
//<< "Packet Loss:" <<
|
||||||
@ -2632,7 +2632,7 @@ void UDPStandardImplementation::stopWriting(int ithread, char* wbuffer){
|
|||||||
|
|
||||||
if(totalWritingPacketCount[ithread]){
|
if(totalWritingPacketCount[ithread]){
|
||||||
if(frameNumberInPreviousFile[ithread]==-1)
|
if(frameNumberInPreviousFile[ithread]==-1)
|
||||||
frameNumberInPreviousFile[ithread] = startFrameIndex - 1;
|
frameNumberInPreviousFile[ithread] = startFrameIndex;
|
||||||
cout << "\nThread " << ithread << "\tFile:" << completeFileName[ithread] <<endl;
|
cout << "\nThread " << ithread << "\tFile:" << completeFileName[ithread] <<endl;
|
||||||
//<< "Packet Loss:" <<
|
//<< "Packet Loss:" <<
|
||||||
//setw(4)<<fixed << setprecision(4) <<
|
//setw(4)<<fixed << setprecision(4) <<
|
||||||
|
Reference in New Issue
Block a user