Mesa (master): freedreno/log-parser: fix compute times

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Tue Jun 16 21:14:02 UTC 2020


Module: Mesa
Branch: master
Commit: 6717fd57192f84495a18523623d5f903fb09da3c
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=6717fd57192f84495a18523623d5f903fb09da3c

Author: Rob Clark <robdclark at chromium.org>
Date:   Mon May 11 09:15:50 2020 -0700

freedreno/log-parser: fix compute times

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 at chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5280>

---

 src/gallium/drivers/freedreno/log-parser.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/gallium/drivers/freedreno/log-parser.py b/src/gallium/drivers/freedreno/log-parser.py
index c97b829d467..92df0663daf 100755
--- a/src/gallium/drivers/freedreno/log-parser.py
+++ b/src/gallium/drivers/freedreno/log-parser.py
@@ -188,6 +188,7 @@ def main():
             times_gmem = []
             times = None
             gmem_passes = []
+            times_compute = []
             gmem = None
             continue
 



More information about the mesa-commit mailing list