$starttime = time;

function_that_takes_long_time();

$deltatime = time - $starttime;  ## time it took in seconds (no perfect but
simple and fast)


> -----Original Message-----
> From: Kipp, James [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 22, 2002 10:50 AM
> To: [EMAIL PROTECTED]
> Subject: Time a function
> 
> 
> Anyone have any suggestion, routines, ideas for timing a 
> function? Namely
> the function will copy large files. i want to time how long 
> the copy will
> take.
> 
> thanks for any help.
> 
> 
> 
> 
> 
> -- 
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 

----------------------------------------------------------------------------
--------------------
The views and opinions expressed in this email message are the sender's
own, and do not necessarily represent the views and opinions of Summit
Systems Inc.


-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to