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

raj at netperf.org raj at netperf.org
Thu May 17 10:34:06 PDT 2012


Author: raj
Date: 2012-05-17 10:34:05 -0700 (Thu, 17 May 2012)
New Revision: 583

Modified:
   trunk/src/netlib.c
Log:
the inline of interest is not happening under Windows so remove it

Modified: trunk/src/netlib.c
===================================================================
--- trunk/src/netlib.c	2012-05-17 16:47:44 UTC (rev 582)
+++ trunk/src/netlib.c	2012-05-17 17:34:05 UTC (rev 583)
@@ -3968,7 +3968,11 @@
    not be a big deal. raj 2012-01-23 */
 
 #ifdef WIN32
-__forceinline void demo_interval_tick(uint32_t units)
+/* It would seem that the Microsoft compiler will not inline across
+   source files. So there is little point in having an inline
+   directive in that situation.  Of course that makes me wonder if an
+   inline directive has to appear in netlib.h... */
+void demo_interval_tick(uint32_t units)
 #else
   inline void demo_interval_tick(uint32_t units)
 #endif



More information about the netperf-dev mailing list