aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRob Clark <[email protected]>2020-05-11 09:15:50 -0700
committerMarge Bot <[email protected]>2020-06-16 20:56:15 +0000
commit6717fd57192f84495a18523623d5f903fb09da3c (patch)
treea9bd43ed5b3ea48f076f53526030aff0a8a8e560 /src
parent8ea5d8ce834142b455db4248987eac5649644fc7 (diff)
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 <[email protected]> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5280>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/gallium/drivers/freedreno/log-parser.py1
1 files changed, 1 insertions, 0 deletions
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