[netperf-dev] netperf4 commit notice r225 - trunk/include
burger at netperf.org
burger at netperf.org
Fri Mar 23 10:26:53 PST 2007
Author: burger
Date: 2007-03-23 10:26:52 -0800 (Fri, 23 Mar 2007)
New Revision: 225
Modified:
trunk/include/netperf_hist.h
Log:
Fix netperf_hist.h so netlib.c will compile without errors if
--enable-histogram is specified at configure time.
Stephen Burger
Modified: trunk/include/netperf_hist.h
===================================================================
--- trunk/include/netperf_hist.h 2007-03-22 18:54:16 UTC (rev 224)
+++ trunk/include/netperf_hist.h 2007-03-23 18:26:52 UTC (rev 225)
@@ -61,7 +61,7 @@
#else
-#ifdef WANT_HISTOGRAM
+#if !defined(NETLIB)
#ifdef HAVE_GETHRTIME
#define HISTOGRAM_VARS hrtime_t time_one,time_two
@@ -85,7 +85,7 @@
/* hist.h
- Given a time difference in microseconds, increment one of 91
+ Given a time difference in nanoseconds, increment one of 91
different buckets:
0 - 9 in increments of 100 nsecs
More information about the netperf-dev
mailing list