On Fri, Jun 15, 2012 at 8:17 PM, Dave Hart wrote:
> The code for evutil_gettimeofday() on Windows is:
[...]
> That substitutes a multiplication followed by subtraction in place of
> the modulo 1 million. While I haven't tested it, I believe mul + sub
> will be faster than modulo (division). I'm
The code for evutil_gettimeofday() on Windows is:
/* Conversion logic taken from Tor, which in turn took it
* from Perl. GetSystemTimeAsFileTime returns its value as
* an unaligned (!) 64-bit value containing the number of
* 100-nanosecond intervals since 1 Janu