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)
commit6717fd57192f84495a18523623d5f903fb09da3c
treea9bd43ed5b3ea48f076f53526030aff0a8a8e560
parent8ea5d8ce834142b455db4248987eac5649644fc7
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@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5280>
src/gallium/drivers/freedreno/log-parser.py