1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2024-10-06 02:41:11 +01:00

Merge pull request #411 from bjackman/gfxinfo-ignore-extra-fields

fps: Ignore additional fields in gfxinfo frame data
This commit is contained in:
setrofim 2017-06-15 15:47:03 +01:00 committed by GitHub
commit 81fa5fdf81

View File

@ -392,6 +392,8 @@ class LatencyCollector(threading.Thread):
if match:
data = match.group(0)[:-1]
data = map(int, data.split(','))
# Ignore additional fields
data = data[:len(self.header)]
frame = GfxInfoFrame(*data)
if frame not in self.frames:
if frame.Flags & GFXINFO_EXEMPT: