summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorEric Dumazet <edumazet@google.com>2016-12-02 19:11:00 +0300
committerDavid S. Miller <davem@davemloft.net>2016-12-04 00:12:17 +0300
commit12efa1fa43968fcb707e806dc119df499c17ac2c (patch)
tree1af0100515470e6aa6a942f0d13ff51529efbc81 /tools/perf/scripts/python
parente01b16a7e217a23eb97e08d0a591735d5aee5efc (diff)
downloadlinux-12efa1fa43968fcb707e806dc119df499c17ac2c.tar.xz
net_sched: gen_estimator: account for timer drifts
Under heavy stress, timer used in estimators tend to slowly be delayed by a few jiffies, leading to inaccuracies. Lets remember what was the last scheduled jiffies so that we get more precise estimations, without having to add a multiply/divide in the loop to account for the drifts. Signed-off-by: Eric Dumazet <edumazet@google.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions