[netperf-dev] netperf2 commit notice r462 - trunk/src
raj at netperf.org
raj at netperf.org
Wed Jul 27 14:43:09 PDT 2011
Author: raj
Date: 2011-07-27 14:43:09 -0700 (Wed, 27 Jul 2011)
New Revision: 462
Modified:
trunk/src/netlib.h
trunk/src/nettest_omni.c
Log:
nits nits everywhere the wdk compiler hates them all
Modified: trunk/src/netlib.h
===================================================================
--- trunk/src/netlib.h 2011-07-27 21:38:19 UTC (rev 461)
+++ trunk/src/netlib.h 2011-07-27 21:43:09 UTC (rev 462)
@@ -562,6 +562,7 @@
extern void find_system_info(char **system_model, char **cpu_model, int *cpu_frequency);
extern int HIST_get_percentile();
extern void HIST_get_stats();
+extern void find_security_info(int *enabled, int *type, char **specific);
#ifndef WIN32
/* WIN32 requires that at least one of the file sets to select be
Modified: trunk/src/nettest_omni.c
===================================================================
--- trunk/src/nettest_omni.c 2011-07-27 21:38:19 UTC (rev 461)
+++ trunk/src/nettest_omni.c 2011-07-27 21:43:09 UTC (rev 462)
@@ -1472,7 +1472,7 @@
FILE *selections;
char name[81]; /* best be more than enough */
int namepos;
- char c;
+ int c;
int j;
int line,column;
@@ -5727,7 +5727,7 @@
unreliable then we want what was actually received */
if ('x' == libfmt)
/* it was a request/response test */
- thruput = calc_thruput(trans_completed);
+ thruput = calc_thruput((double)trans_completed);
else if (NETPERF_RECV_ONLY(direction))
thruput = calc_thruput(bytes_xferd);
else
@@ -5765,7 +5765,7 @@
}
tmpfmt = libfmt;
libfmt = 'x';
- transaction_rate = calc_thruput(trans_completed);
+ transaction_rate = calc_thruput((double)trans_completed);
libfmt = tmpfmt;
}
More information about the netperf-dev
mailing list