summaryrefslogtreecommitdiff
path: root/lib/intel_batchbuffer.c
diff options
context:
space:
mode:
authorJohn Harrison <John.C.Harrison@Intel.com>2018-03-06 12:43:08 +0000
committerTvrtko Ursulin <tvrtko.ursulin@intel.com>2018-04-18 15:39:40 +0100
commit17bbff4149b2dbf54be846a9eb937379e1ce3250 (patch)
treecc15aa519f3eec14003f1d32a8edd6c3c7c50a7f /lib/intel_batchbuffer.c
parent1655e2d9c6d94756e64860c31e97f6308fee0e8a (diff)
scripts/trace.pl: Calculate stats only after all munging
There are various statistics being calculated multiple times in multiple places while the log file is being read in. Some of these are then re-calculated when the database is munged to correct various issues with the logs. This patch consolidates the calculations into a separate pass after all the reading and munging has been done. Note that this actually produces a different final output as the 'execute-delay' values were not previously being re-calculated after all the fixups. Thus were based on an incorrect calculation. v2: Reduce scope of some local variables [Tvrtko] Signed-off-by: John Harrison <John.C.Harrison@intel.com> Cc: Tvrtko Ursulin <tvrtko.ursulin@intel.com> Reviewed-by: Tvrtko Ursulin <tvrtko.ursulin@intel.com>
Diffstat (limited to 'lib/intel_batchbuffer.c')
0 files changed, 0 insertions, 0 deletions