freedreno/log-parser: fix compute times
authorRob Clark <robdclark@chromium.org>
Mon, 11 May 2020 16:15:50 +0000 (09:15 -0700)
committerMarge Bot <eric+marge@anholt.net>
Tue, 16 Jun 2020 20:56:15 +0000 (20:56 +0000)
We also need to clear the table of compute times at the end of the
frame, otherwise results shown will include all the compute jobs since
the beginning of the trace.

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5280>

src/gallium/drivers/freedreno/log-parser.py

index c97b829d467a92ed344f732db6d5fc0bbfcf5d85..92df0663daf0e7700ea984c9f535fa383fcf1872 100755 (executable)
@@ -188,6 +188,7 @@ def main():
             times_gmem = []
             times = None
             gmem_passes = []
+            times_compute = []
             gmem = None
             continue