From 1d18f8a96a67f1baa38785a535236c4c2e9b1889 Mon Sep 17 00:00:00 2001 From: hadaq Date: Thu, 17 Jun 2010 09:19:32 +0000 Subject: [PATCH] HadTu size fixed. Sergey. --- hadaq/netmem.c | 12 +++++------- 1 file changed, 5 insertions(+), 7 deletions(-) diff --git a/hadaq/netmem.c b/hadaq/netmem.c index a13de08..c6ff281 100644 --- a/hadaq/netmem.c +++ b/hadaq/netmem.c @@ -1,5 +1,4 @@ -static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/netmem.c,v 6.38 2010-06-14 14:38:07 hadaq Exp $"; - +static char *rcsId = "$Header: /misc/hadesprojects/daq/cvsroot/eventbuilder/hadaq/netmem.c,v 6.39 2010-06-17 09:19:32 hadaq Exp $"; #define _POSIX_C_SOURCE 199309L #define SYSLOG_NAMES @@ -59,10 +58,10 @@ void sigHandler(int sig) static void usage(const char *progName) { syslog(LOG_ERR, "Usage: %s -i inPath [-i inPath] -m nrOfMsgs [-p priority]", progName); - syslog(LOG_ERR, "[-b] show fill levels of buffers]"); - syslog(LOG_ERR, "[-S shmem_name] extension of a shared memory name to be used"); - syslog(LOG_ERR, "[-q size] queue size"); - syslog(LOG_ERR, "[-Q num:size] used to set specific queue size for given queue number"); + syslog(LOG_ERR, " [-S shmem_name] Extension of shared memory segment name."); + syslog(LOG_ERR, " [-q queueSize] Size of the queue (shared memory segments) in Bytes."); + syslog(LOG_ERR, " [-Q queueNr:queueSize] Set different queue sizes for different queue numbers,"); + syslog(LOG_ERR, " example: -Q 2:1000000 -Q 4:4000000 -Q 5:12000000"); } static int makeQueues(TheArgs *my) @@ -287,7 +286,6 @@ static void add2Stat(TheArgs *theArgs, TheStats *my, float interval, ShmTrans ** /* Add more statistic for recv bytes per second */ (*my->recvBytesRate[i]) = *nettr[i]->bytesReceived - lastBytesRecv[i]; lastBytesRecv[i] = *nettr[i]->bytesReceived; - } t_0 = t; -- 2.43.0