diff options
| author | Will Hawkins <[email protected]> | 2022-05-13 23:49:56 -0400 |
|---|---|---|
| committer | Will Hawkins <[email protected]> | 2022-05-13 23:49:56 -0400 |
| commit | 140c64907408d1cf998f1616d6aec4bc2904ce95 (patch) | |
| tree | e4c4e6d3a4dd90d1dad0926ee699f1738cb94ae1 /extendedstats/unix.go | |
| parent | 39e17236e4f759fdfa26660c9476528c82556faa (diff) | |
[Improvement] Increase granularity of transfer rate calculation
Previously the code relied on the fact that the go runtime would wake up
the saturation go function at exactly 1 second intervals, as we asked.
With this change, the code takes into account any minor fluctuations in
that time when calculating the throughput in an interval. I hope that
this change is an improvement.
Diffstat (limited to 'extendedstats/unix.go')
0 files changed, 0 insertions, 0 deletions
