Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. Other Discussions
  3. Article Writing
  4. Estimating remainding time

Estimating remainding time

Scheduled Pinned Locked Moved Article Writing
algorithmsperformancelounge
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P Offline
    P Offline
    Philippe Mori
    wrote on last edited by
    #1

    Does someone knows where to find algorithms to estimate remainding time that will adjust the estimation if the speed varies (something like Internet Explorer would do - the estimate time would adjust with the connection speed (for eg. if it slow downs...). The simple way is to divide elapsed time by the current estimation of the progress to get the mean speed... but it does not adjust well to speed change. I think that I should uses more of the recent time information than older one... We want an algorithm that will self-adjust estimated remainding time for general use in our applications. Philippe Mori

    L 1 Reply Last reply
    0
    • P Philippe Mori

      Does someone knows where to find algorithms to estimate remainding time that will adjust the estimation if the speed varies (something like Internet Explorer would do - the estimate time would adjust with the connection speed (for eg. if it slow downs...). The simple way is to divide elapsed time by the current estimation of the progress to get the mean speed... but it does not adjust well to speed change. I think that I should uses more of the recent time information than older one... We want an algorithm that will self-adjust estimated remainding time for general use in our applications. Philippe Mori

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      Simple... Use "moving averages", wich are largely used in stock trading. for eg., use avg(avg(total download) + avg(last 10%))

      T 1 Reply Last reply
      0
      • L Lost User

        Simple... Use "moving averages", wich are largely used in stock trading. for eg., use avg(avg(total download) + avg(last 10%))

        T Offline
        T Offline
        TomKat
        wrote on last edited by
        #3

        16/03/2003 - i will have posted an article on estimations ! A class that does this ! CPrg prg; prg.SetRange(0,1000); int i=0; while(1) { prg.SetPos(i); i++; printf("%d\r\n",prg.ElapsedSeconds()); printf("%d\r\n",prg.LeftSeconds()); } it`s all you need ! for transfers ... for example ! // be cool ! I am the mighty keeper of the book on knowledge . Contact me to get your copy .

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups