From a952077c1d8897daeb6fb0bc87d1d4d0e07f5c98 Mon Sep 17 00:00:00 2001 From: l_maliakal_d Date: Fri, 29 Nov 2013 12:08:08 +0000 Subject: [PATCH] receiver show count how much listened to git-svn-id: file:///afs/psi.ch/project/sls_det_software/svn/slsDetectorSoftware@702 951219d9-93cf-4727-9268-0efd64621fa3 --- .../slsReceiver/slsReceiverFunctionList.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/slsDetectorSoftware/slsReceiver/slsReceiverFunctionList.cpp b/slsDetectorSoftware/slsReceiver/slsReceiverFunctionList.cpp index 8519d7182..766672e15 100644 --- a/slsDetectorSoftware/slsReceiver/slsReceiverFunctionList.cpp +++ b/slsDetectorSoftware/slsReceiver/slsReceiverFunctionList.cpp @@ -482,9 +482,9 @@ int slsReceiverFunctionList::startListening(){ int framesCount = -1; int packetsCount = 0; char *tempchar = new char[oneBufferSize]; -#ifdef VERYVERBOSE +//#ifdef VERYVERBOSE int totalcount = 0; -#endif +//#endif //to increase socket receiver buffer size and max length of input queue by changing kernel settings if(system("echo $((100*1024*1024)) > /proc/sys/net/core/rmem_max")) @@ -693,9 +693,9 @@ int slsReceiverFunctionList::startListening(){ packetsCount = 0; //increment frame count framesCount++; -#ifdef VERYVERBOSE +//#ifdef VERYVERBOSE totalcount++; -#endif +//#endif #ifdef VERYVERBOSE cout<<"lcurrframnum:"<< dec<< (((uint32_t)(*((uint32_t*)(buffer+offset))) & frameIndexMask) >> frameIndexOffset)<<"*"<