Re: Fwd: Monotonic Time
| From: | Niklas Keller | Date: | Sun, 05 Feb 2017 19:18:30 +0000 |
| Subject: | Re: Fwd: Monotonic Time | ||
| References: | 1 2 3 4 5 6 7 8 9 10 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-98211@lists.php.net to get a copy of this message | ||
I have implemented a
hrtime() function which allows access to the
system's monotonic time in nanoseconds.
>
>
https://github.com/php/php-src/compare/master...kelunik:hrtime
Feedback is very welcome.
I'm not sure whether we should allow a parameter for the time unit or just
let the user do the simple calculation.
Regards, Niklas