Posted by John Nichel on 03/15/05 17:19
JoShQuNe (TR) wrote:
> Hi, i wanna ask if anybody knows how to calculate the total process
> time of a script. I guess there exists a
> function to perform but i dont know which one it is. I mean if u c any
> PHP Nuke site, it says this
> page is produced in .... seconds. I made some codes it calculates but i
> dont believe that it is
> equal to total process time.. Thanx..
Use microtime...
http://us4.php.net/microtime
There are examples on the page.
--
John C. Nichel
ÜberGeek
KegWorks.com
716.856.9675
john@kegworks.com
[Back to original message]
|