Re: [Openvpn-devel] [RFC][windows] gettimeofday()

2012-02-22 Thread Alon Bar-Lev
BTW: I like the mingw implementation, much simpler. It uses the GetSystemTimeAsFileTime() API not performance counters. On Wed, Feb 22, 2012 at 8:46 PM, Alon Bar-Lev wrote: > For all who cannot build and have access to Windows machine. > Please run binary[1] and send output. > > [1] https://githu

Re: [Openvpn-devel] [RFC][windows] gettimeofday()

2012-02-22 Thread Alon Bar-Lev
For all who cannot build and have access to Windows machine. Please run binary[1] and send output. [1] https://github.com/downloads/alonbl/openvpn/timebench.exe On Wed, Feb 22, 2012 at 6:12 PM, Alon Bar-Lev wrote: > Hello all, > > There is an abnormality in the openvpn sources I want to resolve.

Re: [Openvpn-devel] [RFC][windows] gettimeofday()

2012-02-22 Thread David Sommerseth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 22/02/12 17:40, Alon Bar-Lev wrote: > On Wed, Feb 22, 2012 at 6:37 PM, David Sommerseth > wrote: >> -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 >> >> On 22/02/12 17:27, Heiko Hund wrote: >>> On Wednesday 22 February 2012 16:12:24 Alon Bar-Lev w

Re: [Openvpn-devel] [RFC][windows] gettimeofday()

2012-02-22 Thread Alon Bar-Lev
On Wed, Feb 22, 2012 at 6:37 PM, David Sommerseth wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On 22/02/12 17:27, Heiko Hund wrote: >> On Wednesday 22 February 2012 16:12:24 Alon Bar-Lev wrote: >>> In windows there is own implementation of gettimeofday(). In the >>> past there was

Re: [Openvpn-devel] [RFC][windows] gettimeofday()

2012-02-22 Thread David Sommerseth
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 22/02/12 17:27, Heiko Hund wrote: > On Wednesday 22 February 2012 16:12:24 Alon Bar-Lev wrote: >> In windows there is own implementation of gettimeofday(). In the >> past there was no gettimeofday(), so we used performance counters, >> then James o

Re: [Openvpn-devel] [RFC][windows] gettimeofday()

2012-02-22 Thread Alon Bar-Lev
On Wed, Feb 22, 2012 at 6:27 PM, Heiko Hund wrote: > Since there's no gettimeofday() in MSVC this will break building with the > python build system. Not sure if we're in the process of getting rid of it, > which I would welcome, so this is just for additional information. The python build system

Re: [Openvpn-devel] [RFC][windows] gettimeofday()

2012-02-22 Thread Heiko Hund
On Wednesday 22 February 2012 16:12:24 Alon Bar-Lev wrote: > In windows there is own implementation of gettimeofday(). > In the past there was no gettimeofday(), so we used performance counters, > then James optimize it to reduce CPU consumption. > > Unlike in the past, mingw does provide this fun

Re: [Openvpn-devel] [RFC][windows] gettimeofday()

2012-02-22 Thread Jan Just Keijser
Hi Alon, Alon Bar-Lev wrote: Hello all, There is an abnormality in the openvpn sources I want to resolve. In windows there is own implementation of gettimeofday(). In the past there was no gettimeofday(), so we used performance counters, then James optimize it to reduce CPU consumption. Unlik

[Openvpn-devel] [RFC][windows] gettimeofday()

2012-02-22 Thread Alon Bar-Lev
Hello all, There is an abnormality in the openvpn sources I want to resolve. In windows there is own implementation of gettimeofday(). In the past there was no gettimeofday(), so we used performance counters, then James optimize it to reduce CPU consumption. Unlike in the past, mingw does provid