diff options
author | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-07-15 22:12:08 +0300 |
---|---|---|
committer | Trond Myklebust <trond.myklebust@hammerspace.com> | 2019-07-16 14:11:58 +0300 |
commit | 3cf7292280d5e484747a5f0ee4b62327b037344c (patch) | |
tree | 31942b53680b0c64c364322c154753857a93eb93 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 50c8000744463aa8534de0d739b50ed4f06f8275 (diff) | |
download | linux-3cf7292280d5e484747a5f0ee4b62327b037344c.tar.xz |
SUNRPC: Replace division by multiplication in calculation of queue length
When checking whether or not a particular xprt queue length is shorter
than the average queue length for all xprts, prefer to use multiplication
rather than division for performance reasons.
Signed-off-by: Trond Myklebust <trond.myklebust@hammerspace.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions