Re: [ovs-dev] [PATCH v2 2/2] cccl: Ability to enable compiler optimization.

2014-09-04 Thread Gurucharan Shetty
On Thu, Sep 4, 2014 at 5:16 PM, Saurabh Shah wrote: >> >>diff --git a/m4/openvswitch.m4 b/m4/openvswitch.m4 >>index e918f25..2044e6b 100644 >>--- a/m4/openvswitch.m4 >>+++ b/m4/openvswitch.m4 >>@@ -86,6 +86,14 @@ AC_DEFUN([OVS_CHECK_WIN32], >> AC_MSG_ERROR([pthread directory not specif

Re: [ovs-dev] [PATCH v2 2/2] cccl: Ability to enable compiler optimization.

2014-09-04 Thread Saurabh Shah
> >diff --git a/m4/openvswitch.m4 b/m4/openvswitch.m4 >index e918f25..2044e6b 100644 >--- a/m4/openvswitch.m4 >+++ b/m4/openvswitch.m4 >@@ -86,6 +86,14 @@ AC_DEFUN([OVS_CHECK_WIN32], > AC_MSG_ERROR([pthread directory not specified]) > ] > ) >+ AC_ARG_WITH([debug], >+

[ovs-dev] [PATCH v2 2/2] cccl: Ability to enable compiler optimization.

2014-09-04 Thread Gurucharan Shetty
MSVC has a '-O2' compiler optimization flag which makes code run fast and is the recommended option for released code. For e.g., running "./tests/ovstest.exe test-cmap benchmark 100 3 1" shows a 3x improvement for some cmap micro-benchmarks. In the Visual Studio world, there is a concept of "r