]> granicus.if.org Git - php/commit
On at least Win32, gettimeofday() returns values in tv_usec which exceed
authorSascha Schumann <sas@php.net>
Tue, 21 Sep 1999 08:22:33 +0000 (08:22 +0000)
committerSascha Schumann <sas@php.net>
Tue, 21 Sep 1999 08:22:33 +0000 (08:22 +0000)
commitcf00d75980d12cc2758b04efe09e970b4d9d4285
tree4e46738c833dd3cf3ae42f004dbda3464f3ff1eb
parent8b1195ffccd5ba25e3940ecbb21516152a94abb8
On at least Win32, gettimeofday() returns values in tv_usec which exceed
    1,000,000.

    For portability reasons we set the integer part of our result to 0.
    This is equivalent to using tv_usec % 1000000.
ext/standard/microtime.c