On 1/27/2004 7:50 PM, [EMAIL PROTECTED] wrote:

Hi all:

I'm trying to determine how long an system operation takes. Anyone know of a simple way to do this ?

I wanted to establish the start time. Then run the operation. Then mark the finish time. Then substract the start time from the finish time to get an elapsed time. Here's the simplistic approach I tried. I'm sure I need a time that is measured in seconds or something like that, but I'm not sure how to do this.

Use the Benchmark module or Time::Hires.


Randy.



--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
<http://learn.perl.org/> <http://learn.perl.org/first-response>




Reply via email to