Home
last modified time | relevance | path

Searched refs:frame_timestamps (Results 1 – 4 of 4) sorted by relevance

/external/chromium-trace/catapult/telemetry/telemetry/web_perf/metrics/
Dsmoothness_unittest.py65 frame_timestamps=[[10, 20], [130, 140, 150]],
77 frame_timestamps=[[10, 20, 50], [130, 140, 150, 170, 180]],
89 frame_timestamps=self.not_enough_frames_timestamps,
107 stats = _MockRenderingStats(frame_timestamps=self.good_timestamps,
116 stats = _MockRenderingStats(frame_timestamps=self.good_timestamps,
124 frame_timestamps=self.not_enough_frames_timestamps,
138 frame_timestamps=self.good_timestamps,
146 frame_timestamps=self.good_timestamps,
154 frame_timestamps=self.not_enough_frames_timestamps,
163 stats = _MockRenderingStats(frame_timestamps=self.good_timestamps,
[all …]
Dsmoothness.py95 def _JoinTimestampRanges(frame_timestamps): argument
100 for timestamp_range in frame_timestamps:
115 if self._HasEnoughFrames(stats.frame_timestamps):
116 timestamps = self._JoinTimestampRanges(stats.frame_timestamps)
173 if self._HasEnoughFrames(stats.frame_timestamps):
205 if (not self._HasEnoughFrames(stats.frame_timestamps) or
225 elif self._HasEnoughFrames(stats.frame_timestamps):
254 if self._HasEnoughFrames(stats.frame_timestamps):
287 if self._HasEnoughFrames(stats.frame_timestamps):
289 stats.frame_timestamps), 4)
[all …]
Drendering_stats_unittest.py41 self.frame_timestamps = []
47 self.frame_timestamps.append([])
88 prev_timestamp = ref_stats.frame_timestamps[-1][-1]
90 ref_stats.frame_timestamps[-1].append(timestamp)
118 prev_timestamp = ref_stats.frame_timestamps[-1][-1]
120 ref_stats.frame_timestamps[-1].append(timestamp)
152 prev_timestamp = ref_stats.frame_timestamps[-1][-1]
154 ref_stats.frame_timestamps[-1].append(timestamp)
312 self.assertEquals(stats.frame_timestamps, ref_stats.frame_timestamps)
350 self.assertEquals(stats.frame_timestamps, ref_stats.frame_timestamps)
[all …]
Drendering_stats.py167 self.frame_timestamps = []
182 self.frame_timestamps.append([])
240 self.frame_timestamps[-1].append(
242 if len(self.frame_timestamps[-1]) >= 2:
244 self.frame_timestamps[-1][-1] - self.frame_timestamps[-1][-2])