CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

Home: Perl Programming Help: Intermediate:
Writing a simple portion that records length (in time) of calculation

 



joshuamhenrich
New User

Jul 22, 2011, 9:26 AM

Post #1 of 2 (1206 views)
Writing a simple portion that records length (in time) of calculation Can't Post

Hey all.

I am doing some fairly lengthy calculations that take days, and I want to better predict the length of time it will take without sitting and watching it.

Can anyone help me with this?

Would it be something that stores a time variable at the start, and after, along with maybe taking a difference of the two at the end to tell me how long it took?

Any help would be much appreciated!

Thanks;
Josh


FishMonger
Veteran / Moderator

Jul 22, 2011, 10:26 AM

Post #2 of 2 (1203 views)
Re: [joshuamhenrich] Writing a simple portion that records length (in time) of calculation [In reply to] Can't Post

Yes that is how you'd do it. So, what part of that process is giving you trouble?

What code have you tried?

 
 


Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives