got rid of unnecessary printouts in receiver

This commit is contained in:
Dhanya Maliakal 2015-01-30 15:03:35 +01:00
parent dc4e74087d
commit f30833a460
2 changed files with 6 additions and 3 deletions

View File

@ -203,7 +203,9 @@ inline char* UDPBaseImplementation::setFilePath(const char c[]){ FILE_LOG(logDEB
} }
} }
FILE_LOG(logDEBUG) << __AT__ << getFilePath(); FILE_LOG(logDEBUG) << __AT__ << getFilePath();
#ifdef VERBOSE
cout << getFilePath() << " " << filePath << endl; cout << getFilePath() << " " << filePath << endl;
#endif
return getFilePath(); return getFilePath();
} }

View File

@ -1298,8 +1298,9 @@ int UDPStandardImplementation::createNewFile(){
else else
sprintf(savefilename, "%s/%s_f%012d_%d.raw", filePath,fileName,(packetsCaught/packetsPerFrame),fileIndex); sprintf(savefilename, "%s/%s_f%012d_%d.raw", filePath,fileName,(packetsCaught/packetsPerFrame),fileIndex);
#ifdef VERBOSE
cout << filePath << " + " << fileName << endl; cout << filePath << " + " << fileName << endl;
#endif
//if filewrite and we are allowed to write //if filewrite and we are allowed to write
if(enableFileWrite && cbAction > DO_NOTHING){ if(enableFileWrite && cbAction > DO_NOTHING){
@ -1632,9 +1633,9 @@ int UDPStandardImplementation::startListening(){
expected = maxBufferSize - carryonBufferSize; expected = maxBufferSize - carryonBufferSize;
} }
//#ifdef VERYDEBUG #ifdef VERYDEBUG
cout << ithread << " *** rc:" << dec << rc << ". expected:" << dec << expected << endl; cout << ithread << " *** rc:" << dec << rc << ". expected:" << dec << expected << endl;
//#endif #endif
//start indices for each start of scan/acquisition - eiger does it before //start indices for each start of scan/acquisition - eiger does it before