[netperf-dev] netperf2 commit notice r149 - in trunk: . src
raj at netperf.org
raj at netperf.org
Wed Oct 24 17:12:28 PDT 2007
Author: raj
Date: 2007-10-24 17:12:27 -0700 (Wed, 24 Oct 2007)
New Revision: 149
Modified:
trunk/Release_Notes
trunk/src/netsh.c
trunk/src/nettest_bsd.c
Log:
allow fractional percentages for width of confidence intervals
Modified: trunk/Release_Notes
===================================================================
--- trunk/Release_Notes 2007-10-17 21:25:42 UTC (rev 148)
+++ trunk/Release_Notes 2007-10-25 00:12:27 UTC (rev 149)
@@ -1,7 +1,15 @@
-These are the Release Notes leading-up to Revision 2.4.4 of netperf:
+These are the Release Notes leading-up to Revision 2.4.5 of netperf:
Things changed in this release:
+*) The width of the confidence interval can be specified in fractions
+ of a percent for the confidence of a clean, close, comfortable
+ calculation. :)
+
+These are the Release Notes for Revision 2.4.4 of netperf:
+
+Things changed in this release:
+
*) The LOC_CPU and REM_CPU tests will report their respective beliefs
as to the number of CPUs present when the verbosity is set to more
than one. This can be used when trying to diagnose issues with CPU
Modified: trunk/src/netsh.c
===================================================================
--- trunk/src/netsh.c 2007-10-17 21:25:42 UTC (rev 148)
+++ trunk/src/netsh.c 2007-10-25 00:12:27 UTC (rev 149)
@@ -589,7 +589,10 @@
exit(1);
}
if (arg2[0] ) {
- interval = (double) convert(arg2)/100;
+ /* it doesn't make much sense to use convert() here so just
+ use strtod() instead. raj 2007-10-24 */
+ interval = strtod(arg2,NULL)/100.0;
+ printf("interval is %g\n",interval);
}
/* make sure that iteration_min and iteration_max are at least
at a reasonable default value. if a -i option has previously
Modified: trunk/src/nettest_bsd.c
===================================================================
--- trunk/src/nettest_bsd.c 2007-10-17 21:25:42 UTC (rev 148)
+++ trunk/src/nettest_bsd.c 2007-10-25 00:12:27 UTC (rev 149)
@@ -1184,7 +1184,7 @@
if (iteration_max > 1) {
fprintf(where,
- " : +/-%3.1f%% @ %2d%% conf. %s",
+ " : +/-%.3f%% @ %2d%% conf. %s",
interval/0.02,
confidence_level,
result_confidence_only ? " on result only" : "");
More information about the netperf-dev
mailing list