diff options
author | Vadim Kochan <vadim4j@gmail.com> | 2015-11-04 21:42:15 +0200 |
---|---|---|
committer | Tobias Klauser <tklauser@distanz.ch> | 2015-11-05 10:18:12 +0100 |
commit | f15857041821ba75eb608726c2aae15b4177b1f1 (patch) | |
tree | 4b53e3400073c8748ded8b262c5bbc17a04b0d6c /curvetun.h | |
parent | 5906df6771ffe2aafa1b189bffbe82970fb69e56 (diff) |
flowtop: Calculate flow rate more carefully
Make rate calculation more carefully by checking previous & current
bytes/pkts counter.
Do calculation only if update time passed >= 1s.
Signed-off-by: Vadim Kochan <vadim4j@gmail.com>
Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Diffstat (limited to 'curvetun.h')
0 files changed, 0 insertions, 0 deletions