On 3 Apr 2001 19:29:14 -0700, Brian Hardwick <[EMAIL PROTECTED]>
wrote:
>Im trying to optimize some php/mysql code.  Does anyone know a way to
>measure the amount cpu time a php script consumes?

Check out the POSIX functions - in particular the posix_times() function, which
not only shows CPU time but also breaks it down into user (PHP's code)
time and system (time spent by the kernel) time.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to