summaryrefslogtreecommitdiff
path: root/tprintf.h
diff options
context:
space:
mode:
authorVadim Kochan <vadim4j@gmail.com>2015-11-04 21:42:15 +0200
committerTobias Klauser <tklauser@distanz.ch>2015-11-05 10:18:12 +0100
commitf15857041821ba75eb608726c2aae15b4177b1f1 (patch)
tree4b53e3400073c8748ded8b262c5bbc17a04b0d6c /tprintf.h
parent5906df6771ffe2aafa1b189bffbe82970fb69e56 (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 'tprintf.h')
0 files changed, 0 insertions, 0 deletions