diff options
author | wm4 <wm4@nowhere> | 2016-05-12 22:37:45 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2016-05-12 22:37:45 +0200 |
commit | 5bd6b76f5c23a433382ae021f0229c5b6bfcffb0 (patch) | |
tree | 6ab2d6a26daaf7b7f7b217e7103bc5eab40e7d17 /waftools/features.py | |
parent | ee85473d4a6e1eb737a6f086b49bde21701159b4 (diff) | |
download | mpv-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/features.py')
0 files changed, 0 insertions, 0 deletions