[netperf-dev] netperf2 commit notice r367 - in trunk: . src

raj at netperf.org raj at netperf.org
Mon Nov 29 14:02:48 PST 2010


Author: raj
Date: 2010-11-29 14:02:48 -0800 (Mon, 29 Nov 2010)
New Revision: 367

Modified:
   trunk/config.h.in
   trunk/configure
   trunk/configure.ac
   trunk/src/nettest_omni.c
Log:
set WANT_MIGRATION when one enables OMNI tests

Modified: trunk/config.h.in
===================================================================
--- trunk/config.h.in	2010-11-17 01:25:41 UTC (rev 366)
+++ trunk/config.h.in	2010-11-29 22:02:48 UTC (rev 367)
@@ -352,6 +352,9 @@
 /* Define to one to enable paced operation support. May affect results. */
 #undef WANT_INTERVALS
 
+/* Define to one to migrate classic to OMNI tests. */
+#undef WANT_MIGRATION
+
 /* Define to one to include OMNI tests. */
 #undef WANT_OMNI
 

Modified: trunk/configure
===================================================================
--- trunk/configure	2010-11-17 01:25:41 UTC (rev 366)
+++ trunk/configure	2010-11-29 22:02:48 UTC (rev 367)
@@ -8198,6 +8198,11 @@
 #define WANT_OMNI
 _ACEOF
 
+
+cat >>confdefs.h <<\_ACEOF
+#define WANT_MIGRATION
+_ACEOF
+
 fi
 
 

Modified: trunk/configure.ac
===================================================================
--- trunk/configure.ac	2010-11-17 01:25:41 UTC (rev 366)
+++ trunk/configure.ac	2010-11-29 22:02:48 UTC (rev 367)
@@ -341,6 +341,7 @@
 if $use_omni
 then
 	AC_DEFINE([WANT_OMNI],,[Define to one to include OMNI tests.])
+	AC_DEFINE([WANT_MIGRATION],,[Define to one to migrate classic to OMNI tests.])
 fi
 
 

Modified: trunk/src/nettest_omni.c
===================================================================
--- trunk/src/nettest_omni.c	2010-11-17 01:25:41 UTC (rev 366)
+++ trunk/src/nettest_omni.c	2010-11-29 22:02:48 UTC (rev 367)
@@ -125,7 +125,7 @@
 
 
 /* since someone can ask for latency stats, we will always include
-   this and to the other other things */
+   this and do the other other things */
 #include "hist.h"
 
 #ifdef HAVE_GETHRTIME
@@ -299,7 +299,7 @@
       /* in this case, the interval count is the count-down couter \
 	 to decide to sleep for a little bit */ \
       if ((interval_burst) && (--interval_count == 0)) { \
-	/* call sigsuspend and wait for the interval timer to get us \
+	/* spin and wait for the interval timer to get us \
 	   out */ \
 	if (debug > 1) { \
 	  fprintf(where,"about to spin suspend\n"); \



More information about the netperf-dev mailing list