note 103077 added to function.microtime
| From: | adrianguenter at NOSPAM dot gmail dot com | Date: | Thu, 24 Mar 2011 05:13:40 +0000 |
| Subject: | note 103077 added to function.microtime | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-178152@lists.php.net to get a copy of this message | ||
For a clock_gettime and clock_getres PHP interface implementation on *nix (for CLOCK_MONOTONIC
access, for example) there is an extension @ https://github.com/adrianguenter/php_bettertime
For example, to get the monotonic system clock:
<?php
$monoticTime = clock_gettime(CLOCK_MONOTONIC);
// float(171336.01908437)
?>
----
Server IP: 208.69.120.55
Probable Submitter: 76.106.168.150
----
Manual Page -- http://www.php.net/manual/en/function.microtime.php
Edit -- https://master.php.net/note/edit/103077
Del: integrated -- https://master.php.net/note/delete/103077/integrated
Del: useless -- https://master.php.net/note/delete/103077/useless
Del: bad code -- https://master.php.net/note/delete/103077/bad+code
Del: spam -- https://master.php.net/note/delete/103077/spam
Del: non-english -- https://master.php.net/note/delete/103077/non-english
Del: in docs -- https://master.php.net/note/delete/103077/in+docs
Del: other reasons-- https://master.php.net/note/delete/103077
Reject -- https://master.php.net/note/reject/103077
Search -- https://master.php.net/manage/user-notes.php