Re: [ovs-dev] [PATCH] timeval: Initialize 'unix_epoch' for Windows correctly.

2014-06-26 Thread Ben Pfaff
On Thu, Jun 26, 2014 at 07:00:16AM -0700, Gurucharan Shetty wrote: > Till now, we were initializing 'unix_epoch' through time_init(). > But if there was a call directly to xgettimeofday(), we would > miss the initialization causing overflows. This would cause > 'ovs-ofctl benchmark' to produce wron

[ovs-dev] [PATCH] timeval: Initialize 'unix_epoch' for Windows correctly.

2014-06-26 Thread Gurucharan Shetty
Till now, we were initializing 'unix_epoch' through time_init(). But if there was a call directly to xgettimeofday(), we would miss the initialization causing overflows. This would cause 'ovs-ofctl benchmark' to produce wrong results. This commit fixes it by having a separate initialization functi