From: hadaq Date: Fri, 26 Sep 2003 09:26:08 +0000 (+0000) Subject: added NDEBUG statement, was performance leak, mm ,mt X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=d601935ccdbf7f17ac2fbe2f34f450420d3656ce;p=daqdata.git added NDEBUG statement, was performance leak, mm ,mt --- diff --git a/hadaq/evtbuild.c b/hadaq/evtbuild.c index 3aabc42..ae162c2 100644 --- a/hadaq/evtbuild.c +++ b/hadaq/evtbuild.c @@ -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);