mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-13 05:17:13 +02:00
debugging
This commit is contained in:
@ -1586,7 +1586,7 @@ int UDPStandardImplementation::createNewFile(int ithread){
|
|||||||
|
|
||||||
//Print packet loss and filenames
|
//Print packet loss and filenames
|
||||||
if(totalWritingPacketCount[ithread]){
|
if(totalWritingPacketCount[ithread]){
|
||||||
printf("\nThread:%d File:%s\n"
|
cprintf(BLUE,"\nThread:%d File:%s\n"
|
||||||
"Packets Lost:%d"
|
"Packets Lost:%d"
|
||||||
"\t\tPacketsInFile:%lld\tCurrentFrameNumber:%lld\tPreviousFrameNumber:%lld\n",
|
"\t\tPacketsInFile:%lld\tCurrentFrameNumber:%lld\tPreviousFrameNumber:%lld\n",
|
||||||
ithread,completeFileName[ithread],
|
ithread,completeFileName[ithread],
|
||||||
@ -2929,7 +2929,7 @@ void UDPStandardImplementation::handleWithoutMissingPackets(int ithread, char* w
|
|||||||
|
|
||||||
//Print packet loss and filenames
|
//Print packet loss and filenames
|
||||||
if(tempframenumber && (tempframenumber%(maxFramesPerFile/10)) == 0){
|
if(tempframenumber && (tempframenumber%(maxFramesPerFile/10)) == 0){
|
||||||
cprintf(BLUE,"\nPackets Lost:%d"
|
printf("\nPackets Lost:%d"
|
||||||
"\tPacketsFromLastCheck:%lld"
|
"\tPacketsFromLastCheck:%lld"
|
||||||
"\tCurrentFrameNumber:%lld"
|
"\tCurrentFrameNumber:%lld"
|
||||||
"\tPreviousFrameNumber:%lld\n",
|
"\tPreviousFrameNumber:%lld\n",
|
||||||
|
Reference in New Issue
Block a user