1
0
mirror of https://github.com/ARM-software/workload-automation.git synced 2025-02-21 20:38:57 +00:00

Fix for FpsProcessor logic in utils module

- Add requirement on filtered_vsyncs_to_compose for total_vsync metric
- Remove misleading comment in class description
This commit is contained in:
John Richardson 2016-07-25 10:02:54 +01:00
parent ee7c04a568
commit aa2d187c4d

View File

@ -16,10 +16,10 @@
class FpsProcessor(object):
"""
Provide common object for processing surfaceFlinger output for frame
Provides common object for processing surfaceFlinger output for frame
statistics.
This processor adds four metrics to the results:
This processor returns the four frame statistics below:
:FPS: Frames Per Second. This is the frame rate of the workload.
:frames: The total number of frames rendered during the execution of
@ -77,6 +77,7 @@ class FpsProcessor(object):
janks = self._calc_janks(filtered_vsyncs_to_compose)
not_at_vsync = self._calc_not_at_vsync(vsyncs_to_compose)
metrics = (fps, frame_count, janks, not_at_vsync)
return per_frame_fps, metrics