]> jspc29.x-matter.uni-frankfurt.de Git - daqdata.git/commitdiff
sizes print out added for newly properly built event. Sergey.
authorhadaq <hadaq>
Thu, 17 Jun 2010 15:54:05 +0000 (15:54 +0000)
committerhadaq <hadaq>
Thu, 17 Jun 2010 15:54:05 +0000 (15:54 +0000)
hadaq/evtbuild.c

index da458cb3cc77e285883eec8eeb292429ba431aab..92a58e04ffba2d6f5f66659ad733acd275e040f3 100644 (file)
@@ -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 */