aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorSebastian Sanchez <[email protected]>2017-05-04 05:14:16 -0700
committerDoug Ledford <[email protected]>2017-05-04 19:31:46 -0400
commitade6f8af52f5187e6af6f774cff43e0bc60902e4 (patch)
tree8f880ec8392c437e83c3e3a48e27711b596aa532 /tools/perf/scripts/python/call-graph-from-postgresql.py
parentdd1ed1081750a1ce4daeeb53a0ae91af599ecdad (diff)
IB/hfi1: Get rid of divide when setting the tx request header
Div instructions show costly in profiles when the tx request header is set. Using right shift instead of a divide operation reduces the cycles spent in the function that sets the tx request header as shown in the profile. Use right shift operation instead. Profile before change: 43.24% 009 | |--23.41%-- user_sdma_send_pkts | | | |--99.90%-- hfi1_user_sdma_process_requestAfter: Profile after change: 45.75% 009 | |--14.81%-- user_sdma_send_pkts | | | |--99.95%-- hfi1_user_sdma_process_request Reviewed-by: Mike Marciniszyn <[email protected]> Signed-off-by: Sebastian Sanchez <[email protected]> Signed-off-by: Dennis Dalessandro <[email protected]> Signed-off-by: Doug Ledford <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions