Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1045)

Side by Side Diff: tools/perf/metrics/media.py

Issue 71303007: Add MSE perf Telemetry tests. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add perf metrics reporting Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698