Time consumed in microseconds
| From: | Karam Chand | Date: | Tue, 31 Aug 2004 01:47:40 +0000 |
| Subject: | Time consumed in microseconds | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-195235@lists.php.net to get a copy of this message | ||
Hello,
In Win32 API to profile a job we use the following
method:
timetaken = GetTickCount();
/* do some job */
timetaken = GetTickCount() - timetaken;
In this way timetaken returns you the time taken by
the job to complete?
How can I get it in PHP. I want the exact figure in
ms? I used microtime() and the samples given in
php.net but none of them correctly returns the
difference only in ms?
Regards,
Karam
_______________________________
Do you Yahoo!?
Win 1 of 4,000 free domain names from Yahoo! Enter now.
http://promotions.yahoo.com/goldrush