Currently, PHP doesn't support and built-in way to access the system's monotonic time. That might change in PHP 7.2. I plan to implement a hrtime() function providing access to the high-resolution monotonic system time. If UV is available, but another loop is used, uv_hrtime() could be used in the meantime.
This issue exists to keep track of any improvements in PHP itself and to not forget implementing hrtime() in the future.
https://externals.io/thread/592#email-14248 updated: https://externals.io/message/97502
Currently, PHP doesn't support and built-in way to access the system's monotonic time. That might change in PHP 7.2. I plan to implement a
hrtime()function providing access to the high-resolution monotonic system time. If UV is available, but another loop is used,uv_hrtime()could be used in the meantime.This issue exists to keep track of any improvements in PHP itself and to not forget implementing
hrtime()in the future.https://externals.io/thread/592#email-14248updated: https://externals.io/message/97502