summaryrefslogtreecommitdiffstats
path: root/waftools
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2016-05-12 22:37:45 +0200
committerwm4 <wm4@nowhere>2016-05-12 22:37:45 +0200
commit5bd6b76f5c23a433382ae021f0229c5b6bfcffb0 (patch)
tree6ab2d6a26daaf7b7f7b217e7103bc5eab40e7d17 /waftools
parentee85473d4a6e1eb737a6f086b49bde21701159b4 (diff)
downloadmpv-5bd6b76f5c23a433382ae021f0229c5b6bfcffb0.tar.bz2
mpv-5bd6b76f5c23a433382ae021f0229c5b6bfcffb0.tar.xz
cache: simplify speed calculations
Remove the attempted cleverness; keep it dumb. This strictly calculates the average speed over an at least 1 second window (longer if I/O blocks it). Since this doesn't reset the speed anymore when reading stops by going idle, the results might actually be more accurate now.
Diffstat (limited to 'waftools')
0 files changed, 0 insertions, 0 deletions