aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/net_dropmonitor.py
diff options
context:
space:
mode:
authorDave Gordon <[email protected]>2016-08-09 15:19:22 +0100
committerTvrtko Ursulin <[email protected]>2016-08-10 10:40:05 +0100
commitc18468c4b2dbf08854dba4f041c8c1845bf0cc9c (patch)
tree5702381f0e41cb4af0e8c88bae29ea2c5a8ff5d3 /tools/perf/scripts/python/net_dropmonitor.py
parente02757d91f7481093742bb32385567499a59354c (diff)
drm/i915/guc: use for_each_engine_id() where appropriate
Now that host structures are indexed by host engine-id rather than guc_id, we can usefully convert some for_each_engine() loops to use for_each_engine_id() and avoid multiple dereferences of engine->id. Also a few related tweaks to cache structure members locally wherever they're used more than once or twice, hopefully eliminating memory references. Signed-off-by: Dave Gordon <[email protected]> Reviewed-by: Tvrtko Ursulin <[email protected]> Signed-off-by: Tvrtko Ursulin <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/net_dropmonitor.py')
0 files changed, 0 insertions, 0 deletions