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

Unified Diff: tools/perf/metrics/media.py

Issue 23893004: Report time-related media metrics milliseconds instead of seconds. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years, 3 months 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « tools/perf/metrics/media.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/perf/metrics/media.py
diff --git a/tools/perf/metrics/media.py b/tools/perf/metrics/media.py
index a594ec733db86896e74edaa4b00b7c2e0bde484a..628652633b403987ccfeece1cbd230a294356428 100644
--- a/tools/perf/metrics/media.py
+++ b/tools/perf/metrics/media.py
@@ -65,13 +65,13 @@ class MediaMetric(Metric):
return
if not self._skip_basic_metrics:
- AddOneResult('avg_loop_time', 'sec')
- AddOneResult('buffering_time', 'sec')
+ AddOneResult('buffering_time', 'ms')
AddOneResult('decoded_audio_bytes', 'bytes')
AddOneResult('decoded_video_bytes', 'bytes')
AddOneResult('decoded_frame_count', 'frames')
AddOneResult('dropped_frame_count', 'frames')
- AddOneResult('time_to_play', 'sec')
+ AddOneResult('time_to_play', 'ms')
- AddOneResult('seek', 'sec')
+ AddOneResult('avg_loop_time', 'ms')
+ AddOneResult('seek', 'ms')
« no previous file with comments | « tools/perf/metrics/media.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698