try the attached class.

$t = new timer;
$t->start();
// some code;
$t->stop();

$diff = $t->gettime();
echo $diff;

-----Original Message-----
From: Phil Spitler [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 16, 2001 1:20 PM
To: [EMAIL PROTECTED]
Subject: [PHP] RE: Time Taken to Process


yeah, I just saw that, thanks! :)

Phil

> -----Original Message-----
> From: Philip Hallstrom [mailto:[EMAIL PROTECTED]]
> Sent: Monday, July 16, 2001 2:12 PM
> To: Phil Spitler
> Cc: [EMAIL PROTECTED]
> Subject: Re: Time Taken to Process
>
>
> Look at the recent subject entitled "echo vs printf".  There's code to do
> exactly what you want.  I don't think there's anything built in, but I
> could be wrong.
>
> On Mon, 16 Jul 2001, Phil Spitler wrote:
>
> > Does anyone know an easy way to tell how long a page takes to run in ms.
> > Maybe some variable that can be called at the bottom of the page or
> > something.
> >
> > THANKS!
> >
> > -------------------------------------
> > Phil Spitler [Applications Developer]
> > American City Business Journals
> > p: 704.973.1049
> > f: 704.973.8049
> > e: mailto:[EMAIL PROTECTED]
> >
> >
> > --
> > 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]
> >
>
>


--
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]

-- 
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