| OLD | NEW |
| 1 # Copyright 2013 The Chromium Authors. All rights reserved. | 1 # Copyright 2013 The Chromium Authors. All rights reserved. |
| 2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
| 3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
| 4 import logging | 4 import logging |
| 5 import os | 5 import os |
| 6 | 6 |
| 7 from metrics import Metric | 7 from metrics import Metric |
| 8 | 8 |
| 9 | 9 |
| 10 class MediaMetric(Metric): | 10 class MediaMetric(Metric): |
| (...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 69 if not self._skip_basic_metrics: | 69 if not self._skip_basic_metrics: |
| 70 AddOneResult('buffering_time', 'ms') | 70 AddOneResult('buffering_time', 'ms') |
| 71 AddOneResult('decoded_audio_bytes', 'bytes') | 71 AddOneResult('decoded_audio_bytes', 'bytes') |
| 72 AddOneResult('decoded_video_bytes', 'bytes') | 72 AddOneResult('decoded_video_bytes', 'bytes') |
| 73 AddOneResult('decoded_frame_count', 'frames') | 73 AddOneResult('decoded_frame_count', 'frames') |
| 74 AddOneResult('dropped_frame_count', 'frames') | 74 AddOneResult('dropped_frame_count', 'frames') |
| 75 AddOneResult('time_to_play', 'ms') | 75 AddOneResult('time_to_play', 'ms') |
| 76 | 76 |
| 77 AddOneResult('avg_loop_time', 'ms') | 77 AddOneResult('avg_loop_time', 'ms') |
| 78 AddOneResult('seek', 'ms') | 78 AddOneResult('seek', 'ms') |
| 79 AddOneResult('mse', 'ms') |
| 79 return trace | 80 return trace |
| OLD | NEW |