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


Views: 1808
Writing a simple portion that records length (in time) of calculation

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


Views: 1805
Re: [joshuamhenrich] Writing a simple portion that records length (in time) of calculation

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

What code have you tried?