Beefy Boxes and Bandwidth Generously Provided by pair Networks
Problems? Is your data what you think it is?
 
PerlMonks  

Re: elapsed times

by parkprimus (Sexton)
on Feb 05, 2004 at 22:49 UTC ( #326921=note: print w/replies, xml ) Need Help??


in reply to elapsed times

I don't know if this will apply but if you have a linux/unix system you could type "time perl name_of_your_script.pl" at the command prompt. This will give you the real, user, and sys time in milliseconds. If this is not on linux and you can't install modules then your first problem is that you are trying to substract Tue Jan 27 15:40:16 2004 from Tue Jan 27 19:45:56 2004. This will give you an error, hence the zero. So you need to parse out the time and subtract just the numbers.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://326921]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others lurking in the Monastery: (6)
As of 2023-12-11 11:35 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What's your preferred 'use VERSION' for new CPAN modules in 2023?











    Results (41 votes). Check out past polls.

    Notices?