function to approximate time elapsed



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.

.



Relevant Pages

  • Re: function to approximate time elapsed
    ... I need a function to approximate the time passing. ... I have a rough ... I need a function to fill a progress bar about how much ... progress bar to slow down, going from 80% to 99%, never reaching 100%. ...
    (sci.math)
  • Re: function to approximate time elapsed
    ... I need a function to approximate the time passing. ... I have a rough ... I need a function to fill a progress bar about how much ... sign of success. ...
    (sci.math)
  • Re: function to approximate time elapsed
    ... I need a function to approximate the time passing. ... I have a rough ... I need a function to fill a progress bar about how much ...
    (sci.math)
  • Re: OT: Re: Events in C# 3.5 - Anything New?
    ... This reminds me of the progress bar in some version of Internet ... Explorer 6, I think. ... response, and/or was waiting for a response the finish time of which ... reaching 50%, but never reaching 100%. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: function to approximate time elapsed
    ... I need a function to fill a progress bar about how much ... progress bar to slow down, going from 80% to 99%, never reaching 100%. ... Recall the hyperbolic ...
    (sci.math)