Re: [INTERNALS-WIN] [PATCH] Microsecond resolution and accuracy on Windows

From: Date: Mon, 01 Sep 2014 22:00:44 +0000
Subject: Re: [INTERNALS-WIN] [PATCH] Microsecond resolution and accuracy on Windows
References: 1 2 3  Groups: php.internals php.internals.win 
Request: Send a blank email to internals+get-77021@lists.php.net to get a copy of this message
Hi Stas, ----- Original Message ----- From: "Stas Malyshev" Sent: Monday, September 01, 2014
Hi!
I'm also not sure how important it is how have it for 5.4. Does the problem that this patch fixes exist only in older versions of Windows or on all versions? What are the actual effects of this problem - is it just lower resolution of microtime or there can be something seriously wrong with the whole result? If it's just lower resolution, I'd prefer this to go into 5.5 as the change is pretty extensive.
I'd like also to hear more from Anatol and other windows devs on how important they think this is - I haven't done anything with PHP on windows for some time so I'd like more feedback.
From comments in bug reports and brief exchanges on Twitter in October, Pierre wanted to go back to using high-res Performance Counters like the previous 10+ years. While Anatol explains the potential issues, and the low-res, but accurate, plain time functions should be used. My changes provide the best of both, AFAICT. Didn't get to correct 5.3 somehow last year... :*( - Matt

« previous php.internals (#77021) next »