From: hadaq Date: Thu, 17 Jun 2010 15:54:05 +0000 (+0000) Subject: sizes print out added for newly properly built event. Sergey. X-Git-Url: https://jspc29.x-matter.uni-frankfurt.de/git/?a=commitdiff_plain;h=0b58e2683ab230897b0f4c69e6bf39a060b263f5;p=daqdata.git sizes print out added for newly properly built event. Sergey. --- diff --git a/hadaq/evtbuild.c b/hadaq/evtbuild.c index da458cb..92a58e0 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.112 2010-06-17 15:44:42 hadaq Exp $"; +static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/evtbuild.c,v 6.113 2010-06-17 15:54:05 hadaq Exp $"; #define _POSIX_C_SOURCE 199309L #define SYSLOG_NAMES @@ -877,6 +877,17 @@ static void printDebug(TheArgs *theArgs, TheStats *theStats, TheDebug * theDebug printf("\n"); } + /* Print sizes for the last properly built line */ + if (theArgs->debug_size) { + printf("%7s", "size"); + for (i = 0; i < theArgs->nrOfMsgs; i++) { + if (j < theDebug->debugSizesCnt[i]) { + printf(" %08x", *theStats->debugSize[i]); + } + } + printf("\n"); + } + evtBrokenFlag = 0; /* Set counters of broken subevts to zero */