[netperf-dev] netperf2 commit notice r201 - trunk/src

raj at netperf.org raj at netperf.org
Fri Feb 1 07:51:46 PST 2008


Author: raj
Date: 2008-02-01 07:51:45 -0800 (Fri, 01 Feb 2008)
New Revision: 201

Modified:
   trunk/src/nettest_omni.c
Log:
omni the check against the cpu_rate being zero is obsolete

Modified: trunk/src/nettest_omni.c
===================================================================
--- trunk/src/nettest_omni.c	2008-02-01 01:45:31 UTC (rev 200)
+++ trunk/src/nettest_omni.c	2008-02-01 15:51:45 UTC (rev 201)
@@ -3584,13 +3584,7 @@
 
     /* ok, time to possibly calculate cpu util and/or service demand */
     if (local_cpu_usage) {
-      if (local_cpu_rate == 0.0) {
-	fprintf(where,
-		"WARNING WARNING WARNING  WARNING WARNING WARNING  WARNING!\n");
-	fprintf(where,
-		"Local CPU usage numbers based on process information only!\n");
-	fflush(where);
-      }
+
       local_cpu_utilization = calc_cpu_util(elapsed_time);
       
       /* we need to decide what to feed the service demand beast,
@@ -3610,13 +3604,7 @@
     }
 
     if (remote_cpu_usage) {
-      if (remote_cpu_rate == 0.0) {
-	fprintf(where,
-		"DANGER  DANGER  DANGER    DANGER  DANGER  DANGER    DANGER!\n");
-	fprintf(where,
-		"Remote CPU usage numbers based on process information only!\n");
-	fflush(where);
-      }
+
       remote_cpu_utilization = omni_result->cpu_util;
 
       /* since calc_service demand is doing ms/Kunit we will */



More information about the netperf-dev mailing list