mirror of
https://github.com/slsdetectorgroup/slsDetectorPackage.git
synced 2025-06-14 05:47:14 +02:00
modified color of printout
This commit is contained in:
@ -1501,7 +1501,7 @@ void UDPStandardImplementation::startListening(){
|
|||||||
|
|
||||||
//udpsocket doesnt exist
|
//udpsocket doesnt exist
|
||||||
if(udpSocket[ithread] == NULL){
|
if(udpSocket[ithread] == NULL){
|
||||||
FILE_LOG(logERROR) << "Listening_Thread " << ithread << ": UDP Socket not created";
|
FILE_LOG(logERROR) << "Listening_Thread " << ithread << ": UDP Socket not created or shut down earlier";
|
||||||
stopListening(ithread,0);
|
stopListening(ithread,0);
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@ -2461,7 +2461,7 @@ void UDPStandardImplementation::stopWriting(int ithread, char* wbuffer[]){
|
|||||||
|
|
||||||
//statistics
|
//statistics
|
||||||
FILE_LOG(logINFO) << "Status: Run Finished";
|
FILE_LOG(logINFO) << "Status: Run Finished";
|
||||||
if(numTotMissingPackets){
|
if(totalPacketsCaught != (numberOfFrames*packetsPerFrame)){
|
||||||
cprintf(RED, "Total Missing Packets padded: %d\n",numTotMissingPackets);
|
cprintf(RED, "Total Missing Packets padded: %d\n",numTotMissingPackets);
|
||||||
cprintf(RED, "Total Packets Caught: %lld\n",(long long int)totalPacketsCaught);
|
cprintf(RED, "Total Packets Caught: %lld\n",(long long int)totalPacketsCaught);
|
||||||
cprintf(RED, "Total Frames Caught: %lld\n",(long long int)(totalPacketsCaught/packetsPerFrame));
|
cprintf(RED, "Total Frames Caught: %lld\n",(long long int)(totalPacketsCaught/packetsPerFrame));
|
||||||
|
Reference in New Issue
Block a user