From 0b58e2683ab230897b0f4c69e6bf39a060b263f5 Mon Sep 17 00:00:00 2001 From: hadaq Date: Thu, 17 Jun 2010 15:54:05 +0000 Subject: [PATCH] sizes print out added for newly properly built event. Sergey. --- hadaq/evtbuild.c | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) 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 */ -- 2.43.0