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_; |