OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:frame_distribution
(Results
1 - 2
of
2
) sorted by null
/external/chromium-trace/catapult/telemetry/telemetry/web_perf/metrics/
webrtc_rendering_stats.py
29
rendering_length_error=None, fps=None,
frame_distribution
=None):
39
self.
frame_distribution
=
frame_distribution
75
then list the events of the same stream in a
frame_distribution
on stream
144
frame_distribution
= {}
146
ticks_so_far =
frame_distribution
.setdefault(ticks, 0)
147
frame_distribution
[ticks] = ticks_so_far + 1
148
return
frame_distribution
150
def _GetFpsFromCadence(self,
frame_distribution
):
158
frame_distribution
: the source to output distribution
[
all
...]
webrtc_rendering_stats_unittest.py
152
frame_distribution
= {1: 2, 2: 2, 3: 3}
156
stats_parser._GetFpsFromCadence(
frame_distribution
))
159
frame_distribution
= {1: 2, 2: 2, 3: 569, 6: 1}
163
stats_parser._GetFrozenFramesReports(
frame_distribution
))
208
frame_distribution
= {1: 2, 2: 2, 3: 569, 6: 1}
212
stats_parser._GetFreezingScore(
frame_distribution
))
215
frame_distribution
= {1: 2, 2: 2, 3: 2, 8:100}
217
self.assertEqual(0.0, stats_parser._GetFreezingScore(
frame_distribution
))
242
frame_distribution
=expected_frame_dist)
256
self.assertEqual(expected_stats.
frame_distribution
,
[
all
...]
Completed in 52 milliseconds