PHP 4.0 Bug #8932 Updated: gettimeofday improvement suggestion

From: Date: Mon, 29 Jan 2001 14:04:45 +0000
Subject: PHP 4.0 Bug #8932 Updated: gettimeofday improvement suggestion
Groups: php.dev 
Request: Send a blank email to php-dev+get-45249@lists.php.net to get a copy of this message
ID: 8932 User Update by: reijo.vanhanen@helsoft.fi Status: Open Bug Type: Date/time related Description: gettimeofday improvement suggestion I have a solution for this now, also for microtime and usleep. How can I get the code to appropriate place ?? Previous Comments: --------------------------------------------------------------------------- [2001-01-26 08:13:53] reijo.vanhanen@helsoft.fi As implemented now, win32 gettimeofday does not give a consistent time because seconds and microseconds are collected with two different function calls. A better solution, in my opinion, would be to use win32 GetSystemTime function (together with mktime). This reduces accuracy to milliseconds, but time differences would be more reliable (no more extra 1 second errors in small times) --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=8932

« previous php.dev (#45249) next »