telemetry.web_perf.metrics.webrtc_rendering_timeline | index telemetry/web_perf/metrics/webrtc_rendering_timeline.py

`# Copyright 2015 The Chromium Authors. All rights reserved.
# Use of this source code is governed by a BSD-style license that can be
# found in the LICENSE file.`

Modules
`` |  |

telemetry.value.improvement_direction telemetry.value.list_of_scalar_values | telemetry.value.scalar telemetry.web_perf.metrics.webrtc_rendering_stats | telemetry.web_perf.metrics.timeline_based_metric |

Classes
`` |  |

telemetry.web_perf.metrics.timeline_based_metric.TimelineBasedMetric(__builtin__.object)
  WebRtcRenderingTimelineMetric

class WebRtcRenderingTimelineMetric(telemetry.web_perf.metrics.timeline_based_metric.TimelineBasedMetric)
`` | `WebrtcRenderingTimelineMetric calculates metric for WebMediaPlayerMS. The following metrics are added to the results: WebRTCRendering_drift_time us WebRTCRendering_percent_badly_out_of_sync % WebRTCRendering_percent_out_of_sync %
WebRTCRendering_fps FPS
WebRTCRendering_smoothness_score %
WebRTCRendering_freezing_score %
WebRTCRendering_rendering_length_error %
`

Method resolution order:
  WebRtcRenderingTimelineMetric
  telemetry.web_perf.metrics.timeline_based_metric.TimelineBasedMetric
  __builtin__.object

Methods defined here:

AddResults(self, model, renderer_thread, interactions, results)
  `Adding metrics to the results.`

__init__(self)

Static methods defined here:

IsMediaPlayerMSEvent(event)
  `Verify that the event is a webmediaplayerMS event.`

Methods inherited from telemetry.web_perf.metrics.timeline_based_metric.TimelineBasedMetric:

AddWholeTraceResults(self, model, results)
  `Computes and adds metrics corresponding to the entire trace.
  Override this method to compute results that correspond to the whole trace.
  Args:
  model: An instance of telemetry.timeline.model.TimelineModel.
  results: An instance of page.PageTestResults.`

VerifyNonOverlappedRecords(self, interaction_records)
  `This raises exceptions if interaction_records contain overlapped ranges.`

Data descriptors inherited from telemetry.web_perf.metrics.timeline_based_metric.TimelineBasedMetric:

__dict__
  `dictionary for instance variables (if defined)`

__weakref__
  `list of weak references to the object (if defined)`

Data
`` |  | WEB_MEDIA_PLAYER_MS_EVENT = 'WebMediaPlayerMS::UpdateCurrentFrame'