summaryrefslogtreecommitdiff
path: root/str.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 /str.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 'str.h')
0 files changed, 0 insertions, 0 deletions
r what's passed in the 'index' parameter. Fix that by initializing the pckr variable to the index value. Signed-off-by: Boris Brezillon <boris.brezillon@free-electrons.com> Reported-by: Hans Verkuil <hans.verkuil@cisco.com> Fixes: 1bdf02326b71e ("clk: at91: make use of syscon/regmap internally") Cc: <stable@vger.kernel.org> Signed-off-by: Michael Turquette <mturquette@baylibre.com> Link: lkml.kernel.org/r/1468828152-18389-1-git-send-email-boris.brezillon@free-electrons.com
Diffstat (limited to 'Documentation/.gitignore')