diff options
author | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2018-03-06 12:43:14 +0000 |
---|---|---|
committer | Tvrtko Ursulin <tvrtko.ursulin@intel.com> | 2018-07-19 09:42:49 +0100 |
commit | b1e5d5354c3f5245df21eb3be3bf964e3fc0430a (patch) | |
tree | e609b3902278cd0ec013288bfae2db96129c0625 /lib/igt_aux.h | |
parent | cede1c85c526920dcbfb70a10cc2569bf2d60b64 (diff) |
trace.pl: Fix incomplete request handling
Incomplete requests (no notify, no context complete) have to be corrected
by looking at the engine timeline, and not the sorted-by-start-time view
as was previously used.
Per-engine timelines are generated on demand and cached for later use.
v2: Find end of current context on the engine timeline instead of just
using the next request for adjusting the incomplete start time.
v3: Improve scaling with large datasets by only walking each engine
timeline once and some caching. (John Harrison)
v4:
* Fix logic fail from v3.
* Refactor the code a bit to separate the stages better.
* Do not account batches with unknown duration in avg stats.
* Handle two user interrupts with the same seqno.
* Handle user interrupt arriving after request_out.
v5:
* Update for class:instance.
Signed-off-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Cc: John Harrison <John.C.Harrison@intel.com>
Reviewed-by: John Harrison <John.C.Harrison@Intel.com>
Diffstat (limited to 'lib/igt_aux.h')
0 files changed, 0 insertions, 0 deletions