1. 14 Sep, 2018 7 commits
  2. 02 Aug, 2018 3 commits
    • Tvrtko Ursulin's avatar
      trace.pl: Bring back timeline stacking · 33f47ff4
      Tvrtko Ursulin authored
      Bring back the button which expands/stacks overlapping timeline boxes.
      
      We default to no stacking, but sometimes expanding the view can be useful,
      especially with deep request pipelines.
      Signed-off-by: Tvrtko Ursulin's avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
      Reviewed-by: John Harrison's avatarJohn Harrison <John.C.Harrison@Intel.com>
      33f47ff4
    • Tvrtko Ursulin's avatar
      trace.pl: Fix request split mode · 111829d2
      Tvrtko Ursulin authored
      Request split mode had several bugs, both in the original version and also
      after the recent refactorings.
      
      One big one was that it wasn't considering different submit ports as a
      reason to split execution, and also that it was too time based instead of
      looking at relevant timelines.
      
      In this refactoring we address the former by using the engine timelines
      introduced in the previous patch. Secondary port submissions are moved
      to follow the preceding submission as a first step in the correction
      process.
      
      In the second step, we add context timelines and use then in a similar
      fashion to separate start and end time of coalesced requests. For each
      coalesced request we know its boundaries by looking at the engine
      timeline (via global seqnos), and we know the previous request it should
      only start after, by looking at the context timeline.
      
      v2:
       * Remove some dead code.
       * Fix !port0 shifting logic.
      
      v3:
       * Refactor for less list walking as with incomplete handling.
      
      v4:
       * Database of context timelines should not contain duplicates!
         (Converted from array into a hash.)
      
      v5:
       * Avoid over-accounting runnable time for a coalesced group by recording
         the time first request entered the GPU and ending the execute delay at
         that point for the whole group.
      
      v6:
       * Update for engine class:instance.
      Signed-off-by: Tvrtko Ursulin's avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
      Cc: John Harrison <John.C.Harrison@intel.com>
      Reviewed-by: John Harrison's avatarJohn Harrison <John.C.Harrison@Intel.com>
      111829d2
    • Tvrtko Ursulin's avatar
      trace.pl: Context save only applies to last request of a bunch · 22ce3e16
      Tvrtko Ursulin authored
      Skip accounting the context save time for anything but the last request of
      the coalesced bunch, and also skip drawing those boxes on the timeline.
      Signed-off-by: Tvrtko Ursulin's avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
      Reviewed-by: John Harrison's avatarJohn Harrison <John.C.Harrison@Intel.com>
      22ce3e16
  3. 19 Jul, 2018 6 commits
  4. 12 Jul, 2018 4 commits
  5. 06 Jun, 2018 1 commit
  6. 05 Jun, 2018 2 commits
  7. 19 Apr, 2018 2 commits
  8. 18 Apr, 2018 5 commits
  9. 17 Apr, 2018 1 commit
  10. 21 Mar, 2018 3 commits
  11. 11 Jan, 2018 1 commit
  12. 08 Jan, 2018 1 commit
    • Tvrtko Ursulin's avatar
      scripts/trace.pl: Optimize event parsing and processing · d5e51a60
      Tvrtko Ursulin authored
      A couple of small optimizations which altogether bring around 30%
      improvement in my testing.
      
      1. Do less string processing on tracepoints names and push more of the
         check into the if-ladder.
      
      2. Pull out common db key and ctx processing and cache common values in
         local vars.
      
      3. Key value pair parsing is faster with a regexp.
      
      4. Avoid sorting the db hash multiple times if possible.
      
      v2:
       * Use faster key-value splitting method. (John Harrison)
      
      v3:
       * Fix floating-point to int time conversion.
      
      v4:
       * Fix refactoring and logic fails. (John Harrison)
      Signed-off-by: Tvrtko Ursulin's avatarTvrtko Ursulin <tvrtko.ursulin@intel.com>
      Cc: John Harrison <John.C.Harrison@intel.com>
      Reviewed-by: John Harrison's avatarJohn Harrison <John.C.Harrison@Intel.com>
      d5e51a60
  13. 21 Dec, 2017 1 commit
  14. 19 Dec, 2017 2 commits
  15. 18 Dec, 2017 1 commit