-static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/evtbuild.c,v 6.58 2002-11-22 21:54:37 hadaq Exp $";
+static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/evtbuild.c,v 6.59 2002-12-01 15:58:30 hadaq Exp $";
#define _POSIX_C_SOURCE 199309L
ourTime = time(NULL);
closeFile();
- storeInfoStop(argv[0], ourTime, worker);
+ storeInfoStop(argv[0], ourTime - 2, worker);
(*theStats->bytesWritten) = 0;
+ (*theStats->evtsComplete) = 0;
+ (*theStats->evtsDiscarded) = 0;
+ (*theStats->evtsDataError) = 0;
+ (*theStats->evtsTagError) = 0;
+ for (i = 0; i < theArgs->nrOfMsgs; i++) {
+ (*theStats->trigNr[i]) = 0;
+ }
}
}
+
+ ourTime = time(NULL);
+ closeFile();
+ storeInfoStop(argv[0], ourTime - 2, worker);
+
statsDump(theArgs, theStats, 0);
for (i = 0; i < theArgs->nrOfMsgs; i++) {