[php-src] PR #19221: zend_hrtime: Check posix clock once and prefer CLOCK_MONOTONIC_RAW
| From: | marc-mabe | Date: | Wed, 23 Jul 2025 12:39:30 +0000 |
| Subject: | [php-src] PR #19221: zend_hrtime: Check posix clock once and prefer CLOCK_MONOTONIC_RAW | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-32582@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/19221
Author: marc-mabe
Part of https://github.com/php/php-src/issues/19210.
This will test the support of the monotonic timer only once at startup.
Additionally it will prefer
CLOCK_MONOTONiC_RAW (if available) to not be affected by
the incremental adjustments performed by
[adjtime(3)](https://man7.org/linux/man-pages/man3/adjtime.3.html) and NTP.