[netperf-dev] netperf2 commit notice r318 - in trunk: doc src

raj at netperf.org raj at netperf.org
Tue Sep 8 14:32:36 PDT 2009


Author: raj
Date: 2009-09-08 14:32:35 -0700 (Tue, 08 Sep 2009)
New Revision: 318

Modified:
   trunk/doc/netperf.info
   trunk/src/netcpu_procstat.c
   trunk/src/nettest_omni.c
   trunk/src/nettest_sctp.c
   trunk/src/nettest_unix.c
Log:
more warning cleanups from jose

Modified: trunk/doc/netperf.info
===================================================================
--- trunk/doc/netperf.info	2009-09-08 20:38:39 UTC (rev 317)
+++ trunk/doc/netperf.info	2009-09-08 21:32:35 UTC (rev 318)
@@ -342,9 +342,9 @@
 
    Similarly, if you want tests using the XTI interface, Unix Domain
 Sockets, DLPI or SCTP it will be necessary to add one or more
-`--enable-[xti|unix|dlpi|sctp]=yes' options to the configure command.
-As of this writing, the configure script will not include those tests
-automagically.
+`--enable-[xti|unixdomain|dlpi|sctp]=yes' options to the configure
+command.  As of this writing, the configure script will not include
+those tests automagically.
 
    On some platforms, it may be necessary to precede the configure
 command with a CFLAGS and/or LIBS variable as the netperf configure
@@ -1692,8 +1692,8 @@
 `tempnam()' call.
 
    The STREAM_STREAM test is only present if netperf was configured with
-`--enable-unix=yes'. The remote netserver must have also been
-configured with `--enable-unix=yes'.
+`--enable-unixdomain=yes'. The remote netserver must have also been
+configured with `--enable-unixdomain=yes'.
 
 
 File: netperf.info,  Node: DG_STREAM,  Prev: STREAM_STREAM,  Up: Options common to TCP UDP and SCTP tests
@@ -1710,8 +1710,8 @@
 DG_STREAM test.
 
    The DG_STREAM test is only present if netperf was configured with
-`--enable-unix=yes'. The remote netserver must have also been
-configured with `--enable-unix=yes'.
+`--enable-unixdomain=yes'. The remote netserver must have also been
+configured with `--enable-unixdomain=yes'.
 
 
 File: netperf.info,  Node: Using Netperf to Measure Request/Response,  Next: Using Netperf to Measure Aggregate Performance,  Prev: Using Netperf to Measure Bulk Data Transfer,  Up: Top
@@ -2730,7 +2730,7 @@
                                                               (line  41)
 * --enable-sctp, Configure:              Installing Netperf Bits.
                                                               (line  28)
-* --enable-unix, Configure:              Installing Netperf Bits.
+* --enable-unixdomain, Configure:        Installing Netperf Bits.
                                                               (line  28)
 * --enable-xti, Configure:               Installing Netperf Bits.
                                                               (line  28)
@@ -2808,52 +2808,52 @@
 Node: Installing Netperf6924
 Node: Getting Netperf Bits8478
 Node: Installing Netperf Bits10296
-Node: Verifying Installation16760
-Node: The Design of Netperf17464
-Node: CPU Utilization19046
-Node: Global Command-line Options27659
-Node: Command-line Options Syntax28198
-Node: Global Options29580
-Node: Using Netperf to Measure Bulk Data Transfer48876
-Node: Issues in Bulk Transfer49541
-Node: Options common to TCP UDP and SCTP tests53070
-Node: TCP_STREAM59364
-Node: TCP_MAERTS63132
-Node: TCP_SENDFILE64365
-Node: UDP_STREAM66681
-Node: XTI_TCP_STREAM70117
-Node: XTI_UDP_STREAM70762
-Node: SCTP_STREAM71407
-Node: DLCO_STREAM72107
-Node: DLCL_STREAM74080
-Node: STREAM_STREAM74954
-Node: DG_STREAM75800
-Node: Using Netperf to Measure Request/Response76469
-Node: Issues in Request/Response78390
-Node: Options Common to TCP UDP and SCTP _RR tests80396
-Node: TCP_RR85375
-Node: TCP_CC87719
-Node: TCP_CRR89916
-Node: UDP_RR90962
-Node: XTI_TCP_RR92983
-Node: XTI_TCP_CC93566
-Node: XTI_TCP_CRR93732
-Node: XTI_UDP_RR93900
-Node: DLCL_RR94477
-Node: DLCO_RR94630
-Node: SCTP_RR94782
-Node: Using Netperf to Measure Aggregate Performance94918
-Node: Running Concurrent Netperf Tests95753
-Node: Using --enable-burst99645
-Node: Using Netperf to Measure Bidirectional Transfer105830
-Node: Bidirectional Transfer with Concurrent Tests106903
-Node: Bidirectional Transfer with TCP_RR108769
-Node: Other Netperf Tests111303
-Node: CPU rate calibration111749
-Node: Address Resolution114090
-Node: Enhancing Netperf116066
-Node: Netperf4117303
-Node: Concept Index118213
-Node: Option Index120603
+Node: Verifying Installation16767
+Node: The Design of Netperf17471
+Node: CPU Utilization19053
+Node: Global Command-line Options27666
+Node: Command-line Options Syntax28205
+Node: Global Options29587
+Node: Using Netperf to Measure Bulk Data Transfer48883
+Node: Issues in Bulk Transfer49548
+Node: Options common to TCP UDP and SCTP tests53077
+Node: TCP_STREAM59371
+Node: TCP_MAERTS63139
+Node: TCP_SENDFILE64372
+Node: UDP_STREAM66688
+Node: XTI_TCP_STREAM70124
+Node: XTI_UDP_STREAM70769
+Node: SCTP_STREAM71414
+Node: DLCO_STREAM72114
+Node: DLCL_STREAM74087
+Node: STREAM_STREAM74961
+Node: DG_STREAM75819
+Node: Using Netperf to Measure Request/Response76500
+Node: Issues in Request/Response78421
+Node: Options Common to TCP UDP and SCTP _RR tests80427
+Node: TCP_RR85406
+Node: TCP_CC87750
+Node: TCP_CRR89947
+Node: UDP_RR90993
+Node: XTI_TCP_RR93014
+Node: XTI_TCP_CC93597
+Node: XTI_TCP_CRR93763
+Node: XTI_UDP_RR93931
+Node: DLCL_RR94508
+Node: DLCO_RR94661
+Node: SCTP_RR94813
+Node: Using Netperf to Measure Aggregate Performance94949
+Node: Running Concurrent Netperf Tests95784
+Node: Using --enable-burst99676
+Node: Using Netperf to Measure Bidirectional Transfer105861
+Node: Bidirectional Transfer with Concurrent Tests106934
+Node: Bidirectional Transfer with TCP_RR108800
+Node: Other Netperf Tests111334
+Node: CPU rate calibration111780
+Node: Address Resolution114121
+Node: Enhancing Netperf116097
+Node: Netperf4117334
+Node: Concept Index118244
+Node: Option Index120634
 
 End Tag Table

Modified: trunk/src/netcpu_procstat.c
===================================================================
--- trunk/src/netcpu_procstat.c	2009-09-08 20:38:39 UTC (rev 317)
+++ trunk/src/netcpu_procstat.c	2009-09-08 21:32:35 UTC (rev 318)
@@ -160,7 +160,6 @@
 static void
 get_cpu (cpu_states_t *res)
 {
-  int space;
   int i;
   int n = lib_num_loc_cpus;
   char *p = proc_stat_buf;
@@ -227,8 +226,6 @@
 static uint64_t
 tick_subtract(uint64_t start, uint64_t end)
 {
-  uint64_t ret;
-
   if (end >= start || (start & 0xffffffff00000000ULL))
     return (end - start);
 
@@ -245,7 +242,7 @@
 float
 calc_cpu_util_internal(float elapsed_time)
 {
-  int i, j;
+  int i;
 
   float correction_factor;
   cpu_states_t diff;

Modified: trunk/src/nettest_omni.c
===================================================================
--- trunk/src/nettest_omni.c	2009-09-08 20:38:39 UTC (rev 317)
+++ trunk/src/nettest_omni.c	2009-09-08 21:32:35 UTC (rev 318)
@@ -1231,7 +1231,6 @@
   int namepos;
   int c;
   int j;
-  enum netperf_output_name match;
   int line,column;
 
   selections = fopen(selection_file,"r");
@@ -1303,7 +1302,6 @@
   int namepos;
   char c;
   int j;
-  enum netperf_output_name match;
   int line,column;
 
   selections = fopen(selection_file,"r");
@@ -4033,8 +4031,6 @@
 send_omni(char remote_host[])
 {
   
-  
-  int len;
   int ret,rret;
   int connected = 0;
   int timed_out = 0;
@@ -5169,8 +5165,7 @@
 void
 recv_omni()
 {
-  
-  char  *message;
+
   struct addrinfo *local_res;
   char local_name[BUFSIZ];
   char port_buffer[PORTBUFSIZE];

Modified: trunk/src/nettest_sctp.c
===================================================================
--- trunk/src/nettest_sctp.c	2009-09-08 20:38:39 UTC (rev 317)
+++ trunk/src/nettest_sctp.c	2009-09-08 21:32:35 UTC (rev 318)
@@ -408,8 +408,6 @@
   
   struct addrinfo	*remote_res;
   struct addrinfo	*local_res;
-  struct addrinfo	*local_remote_res;
-  struct addrinfo	*local_local_res;
 
   struct	sctp_stream_request_struct	*sctp_stream_request;
   struct	sctp_stream_response_struct	*sctp_stream_response;
@@ -1533,7 +1531,6 @@
 #ifdef DIRTY
   int	i;
 #endif /* DIRTY */
-  int j;
 
   float	local_cpu_utilization;
   float	local_service_demand;
@@ -1544,8 +1541,6 @@
   
   struct addrinfo *remote_res;
   struct addrinfo *local_res;
-  struct addrinfo *last_remote_res;
-  struct addrinfo *last_local_res;
 
   struct	sctp_stream_request_struct	*sctp_stream_request;
   struct	sctp_stream_response_struct	*sctp_stream_response;
@@ -2637,7 +2632,6 @@
   float	remote_service_demand;
   double	thruput;
 
-  struct sockaddr_storage peer;
   struct addrinfo *remote_res;
   struct addrinfo *local_res;
 
@@ -3690,7 +3684,6 @@
   float	remote_service_demand;
   double	thruput;
 
-  struct sockaddr_storage peer;
   struct addrinfo *local_res;
   struct addrinfo *remote_res;
 
@@ -4322,7 +4315,6 @@
 
   int	s_rcv;
   int 	addrlen;
-  char	*temp_message_ptr;
   int	trans_received;
   int	trans_remaining;
   int	bytes_sent;

Modified: trunk/src/nettest_unix.c
===================================================================
--- trunk/src/nettest_unix.c	2009-09-08 20:38:39 UTC (rev 317)
+++ trunk/src/nettest_unix.c	2009-09-08 21:32:35 UTC (rev 318)
@@ -152,7 +152,6 @@
 {
 
   SOCKET temp_socket;
-  int sock_opt_len;
 
   /*set up the data socket                        */
   temp_socket = socket(family, 



More information about the netperf-dev mailing list