[netperf-dev] netperf4 commit notice r140 - branches/glib_migration/src

raj at netperf.org raj at netperf.org
Fri Apr 7 14:36:05 PDT 2006


Author: raj
Date: 2006-04-07 14:36:04 -0700 (Fri, 07 Apr 2006)
New Revision: 140

Modified:
   branches/glib_migration/src/netconfidence.c
Log:
Take a SWAG at initializing some otherwise uninitialized values used 
in get_confidence that was resulting in some rather "fun" output on 
some platforms when we were doing just single iteration runs.  I'm 
not really sure that the values I picked are "correct" or not :)


Modified: branches/glib_migration/src/netconfidence.c
===================================================================
--- branches/glib_migration/src/netconfidence.c	2006-04-07 18:32:17 UTC (rev 139)
+++ branches/glib_migration/src/netconfidence.c	2006-04-07 21:36:04 UTC (rev 140)
@@ -249,9 +249,9 @@
 {
   double mean;
   double sigma;
-  double interval;
+  double interval = -0.0;
   int    count = conf_globals->count;
-  double percent;
+  double percent = -0.0;
 
   /* _                          */
   /* X +/- t[a/2] * (s/sqrt(n)) */



More information about the netperf-dev mailing list