下载时间remaning predictor [英] Download time remaning predictor

查看:134
本文介绍了下载时间remaning predictor的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

是否有当下载(或任何其他程序)将完成基于百分比进行历史predicting任何部件?

Are there any widgets for predicting when a download (or any other process) will finish based on percent done history?

在平凡的版本将只是做基础上,开始时间2点拟合,当前时间和百分比完成,但更好的选择是可能的。

The trivial version would just do a 2 point fit based on the start time, current time and percent done but better option are possible.

这只是返回值的GUI widgest将是很好,但一类会就好了。

A GUI widgest would be nice but a class that just returns the value would be just fine.

推荐答案

有关,我会尝试,如果我会写这样的小部件,会是这样的理论算法:

For the theoretical algorithm that I would attempt, if I would write such a widget, would be something like:

  1. 记录一第二周期内传输的数据量(字面 KIB / s)的
  2. 记住最后5个或10个这样的周期(以获得的最近的平均昆明植物研究所/秒)
  3. 从传输大小减去总规模(以获得字节剩余)
  4. ???
  5. 小工具!
  1. Record the amount of data transferred within a one second period (a literal KiB/s)
  2. Remember the last 5 or 10 such periods (to get an an recent average KiB/s)
  3. Subtract the total size from the transferred size (to get a "bytes remaining")
  4. ???
  5. Widget!

这是现在应该做的......

That oughta do it...

(缺少的步骤中:kibibytes剩余除以平均昆明植物研究所/秒)

(the missing step being: kibibytes remaining divided by average KiB/s)

这篇关于下载时间remaning predictor的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆