mirror of
https://github.com/ARM-software/workload-automation.git
synced 2025-01-19 04:21:17 +00:00
Merge pull request #411 from bjackman/gfxinfo-ignore-extra-fields
fps: Ignore additional fields in gfxinfo frame data
This commit is contained in:
commit
81fa5fdf81
@ -392,6 +392,8 @@ class LatencyCollector(threading.Thread):
|
|||||||
if match:
|
if match:
|
||||||
data = match.group(0)[:-1]
|
data = match.group(0)[:-1]
|
||||||
data = map(int, data.split(','))
|
data = map(int, data.split(','))
|
||||||
|
# Ignore additional fields
|
||||||
|
data = data[:len(self.header)]
|
||||||
frame = GfxInfoFrame(*data)
|
frame = GfxInfoFrame(*data)
|
||||||
if frame not in self.frames:
|
if frame not in self.frames:
|
||||||
if frame.Flags & GFXINFO_EXEMPT:
|
if frame.Flags & GFXINFO_EXEMPT:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user