]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
added NDEBUG statement, was performance leak, mm ,mt
authorhadaq <hadaq>
Fri, 26 Sep 2003 09:26:08 +0000 (09:26 +0000)
committerhadaq <hadaq>
Fri, 26 Sep 2003 09:26:08 +0000 (09:26 +0000)
hadaq/evtbuild.c

index 3aabc428cd6a4aadc761411c3ebc1ba72f75b5a5..ae162c21c662a6c2292c65d7caaa51c5da83af24 100644 (file)
@@ -1,4 +1,4 @@
-static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/evtbuild.c,v 6.65 2003-09-22 11:58:39 hadaq Exp $";
+static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/evtbuild.c,v 6.66 2003-09-26 09:26:08 hadaq Exp $";
 
 
 #define _POSIX_C_SOURCE 199309L
@@ -580,7 +580,9 @@ int main(int argc, char *argv[])
                                conHadTuQueue_voidP(hadTuQueue[i], storage);
                        }
                        subEvt = HadTuQueue_front(hadTuQueue[i]);
+#ifndef NDEBUG
                        syslog(LOG_DEBUG, "hadTuQueue[%d]: %p = subEvt: %s", i, subEvt, SubEvt_2charP(subEvt));
+#endif
 
                        (*theStats->trigNr[i]) = SubEvt_trigNr(subEvt);