Beefy Boxes and Bandwidth Generously Provided by pair Networks
Welcome to the Monastery
 
PerlMonks  

Re: Module to calculate ETA

by SuicideJunkie (Vicar)
on Mar 01, 2013 at 19:01 UTC ( #1021318=note: print w/replies, xml ) Need Help??


in reply to Module to calculate ETA

As you noted, calculating ETA is three trivial math operations. Thus, I'm not at all surprised that there is no module for it.

To make it worthwhile, you should probably add a start() / pause() / resume() to manage the clock, and perhaps track time at higher rez than unit seconds. Perhaps allow for multiple simultaneous timers and a combined ETA. Options for weighting more recent data points over old data points would be good too.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1021318]
help
Chatterbox?
[Eily]: marto I clearly don't have the thread knowledge to understand the importance of that example
[choroba]: the related discussion on Hacker news is interesting
[choroba]: not so many Perl haters so far

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (11)
As of 2017-07-26 14:12 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    I came, I saw, I ...
























    Results (396 votes). Check out past polls.