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

Unified Diff: remoting/client/chromoting_stats.h

Issue 1181743005: Report video and network stats averaged over 1s, and create corresponding UMA metrics. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary RunningAverage stats. Created 5 years, 6 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 | « no previous file | remoting/client/chromoting_stats.cc » ('j') | remoting/client/chromoting_stats.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: remoting/client/chromoting_stats.h
diff --git a/remoting/client/chromoting_stats.h b/remoting/client/chromoting_stats.h
index da7601b7f9222d3026fe768713db067a8a4c0b78..326a0ede7bfe0eb1844393e1e7f9a50ccd793c39 100644
--- a/remoting/client/chromoting_stats.h
+++ b/remoting/client/chromoting_stats.h
@@ -20,6 +20,11 @@ class ChromotingStats {
RateCounter* video_bandwidth() { return &video_bandwidth_; }
Wez 2015/06/29 14:56:13 While you're here, can we add aunits suffix to thi
anandc 2015/06/30 20:17:39 I've used Bps, to indicate Bytes/sec.
RateCounter* video_frame_rate() { return &video_frame_rate_; }
+ RateCounter* video_fps() { return &video_fps_; }
Wez 2015/06/29 14:56:13 What is the difference between this and video_fram
anandc 2015/06/30 20:17:38 Video frame-rate has a time-window of 3s. This one
+ RateCounter* video_bytes_per_s() { return &video_bytes_per_s_; }
Wez 2015/06/29 14:56:13 Similarly, consider clarifying how this differs fr
anandc 2015/06/30 20:17:38 Done.
+ RateCounter* video_fps_with_empty_frames() {
Wez 2015/06/29 14:56:13 There is a 1:1 correspondence between video frames
anandc 2015/06/30 20:17:38 Done.
+ return &video_fps_with_empty_frames_;
+ }
RunningAverage* video_capture_ms() { return &video_capture_ms_; }
RunningAverage* video_encode_ms() { return &video_encode_ms_; }
RunningAverage* video_decode_ms() { return &video_decode_ms_; }
@@ -29,6 +34,9 @@ class ChromotingStats {
private:
RateCounter video_bandwidth_;
RateCounter video_frame_rate_;
+ RateCounter video_fps_;
+ RateCounter video_bytes_per_s_;
+ RateCounter video_fps_with_empty_frames_;
RunningAverage video_capture_ms_;
RunningAverage video_encode_ms_;
RunningAverage video_decode_ms_;
« no previous file with comments | « no previous file | remoting/client/chromoting_stats.cc » ('j') | remoting/client/chromoting_stats.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698