function to approximate time elapsed
- From: "CosminB [BRT]" <cosminb@xxxxxxxxx>
- Date: 12 Apr 2007 09:46:54 -0700
Hi all,
I need a function to approximate the time passing. I have a rough
estimate for an operation, how long it should take. But very often, it
takes longer. I need a function to fill a progress bar about how much
of the operation has been completed. These are the requirements:
Suppose D is the time in which the operation should complete. If the
time elapsed is less than D, then the progress bar should fill (almost
linearly) from 0% to 80%. After the D seconds are elapsed, I need the
progress bar to slow down, going from 80% to 99%, never reaching 100%.
How can I put this into a function y = f(x)? Any ideas much
appreciated.
Thanks in advance,
Cosmin.
.
- Follow-Ups:
- Re: function to approximate time elapsed
- From: temptony
- Re: function to approximate time elapsed
- From: temptony
- Re: function to approximate time elapsed
- From: [Mr.] Lynn Kurtz
- Re: function to approximate time elapsed
- From: Ioannis
- Re: function to approximate time elapsed
- Prev by Date: Re: Pure Mathematics
- Next by Date: Re: Review of Mueckenheims book.
- Previous by thread: Topologies generated by equivalent metrics
- Next by thread: Re: function to approximate time elapsed
- Index(es):
Relevant Pages
|