summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/call-graph-from-postgresql.py
diff options
context:
space:
mode:
authorPrakash Kamliya <pkamliya@codeaurora.org>2016-02-29 15:04:02 +0530
committerDavid Keitel <dkeitel@codeaurora.org>2016-03-25 16:02:40 -0700
commit4689a975253393332073a281e1e9001d944f5572 (patch)
tree001706a218c6d66e7dbb196cab77771a645be43a /tools/perf/scripts/python/call-graph-from-postgresql.py
parent117c9a3b2765e4459e35a9549b923dd2172dfecc (diff)
msm: kgsl: Change the active context tracker
The active context tracker that we bolted on the side of the dispatcher was designed mainly to see if there was 1 OR more than 1 active context, not much more than that. Since it is apparent that we'll need to track up to 4 contexts and possibly more later the algorithm needs to change. The new algorithm puts all active contexts on a linked list - every time a context is used it is popped from the list and put on the tip with an updated time. To count the number of active contexts walk the list until you get a context with an active time older than you are looking for. You also can do other magic on the context, like see if it matches up with a given command queue. Change-Id: Ic0dedbad6be9fd1925121ee54e0000c42b089f44 Signed-off-by: Jordan Crouse <jcrouse@codeaurora.org> Signed-off-by: Prakash Kamliya <pkamliya@codeaurora.org>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions