aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorJames Simmons <[email protected]>2017-01-28 19:05:26 -0500
committerGreg Kroah-Hartman <[email protected]>2017-02-03 13:01:38 +0100
commit86df59846c924c2339603f4370779581e594d0e1 (patch)
treeee50820d4fae30b47639e0cf0ddb922cc36b37a1 /tools/perf/scripts/python/call-graph-from-postgresql.py
parent1cf96da241f489fd29fe564c8fc045e51b5269b8 (diff)
staging: lustre: osc: avoid 64 divide in osc_cache_too_much
The use of 64 bit time introduces an expensive 64 bit division operation. Since the time lapse being calculated in osc_cache_too_much will never be more than seventy years we can cast the time lapse to an long and perform a normal 32 bit divison operation instead. Signed-off-by: James Simmons <[email protected]> Intel-bug-id: https://jira.hpdd.intel.com/browse/LU-8835 Reviewed-on: https://review.whamcloud.com/23814 Reviewed-by: Andreas Dilger <[email protected]> Reviewed-by: Dmitry Eremin <[email protected]> Signed-off-by: James Simmons <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions