diff options
author | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-25 15:35:53 +0000 |
---|---|---|
committer | hclam@chromium.org <hclam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-10-25 15:35:53 +0000 |
commit | b8b98049fb031351d1b3caec2b1ce88b1a1b77d6 (patch) | |
tree | 0576a68c91a281d852d7f4362b61bc11c309f383 /remoting/client/chromoting_stats.h | |
parent | d4a1153d32d094d1e30dc2d24d9bc71bd95aee20 (diff) | |
download | chromium_src-b8b98049fb031351d1b3caec2b1ce88b1a1b77d6.zip chromium_src-b8b98049fb031351d1b3caec2b1ce88b1a1b77d6.tar.gz chromium_src-b8b98049fb031351d1b3caec2b1ce88b1a1b77d6.tar.bz2 |
Show framerate in chromoting debug log
Add frame rate as a statistic that we collect. This can be used
to determine the size of video frames that we're sending.
Frame rate recorded is the number of frames received per second but not the frame rate displayed.
BUG=None
TEST=chromoting runs just fine
Review URL: http://codereview.chromium.org/8310001
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@107121 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'remoting/client/chromoting_stats.h')
-rw-r--r-- | remoting/client/chromoting_stats.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/remoting/client/chromoting_stats.h b/remoting/client/chromoting_stats.h index 9e91457..da7601b 100644 --- a/remoting/client/chromoting_stats.h +++ b/remoting/client/chromoting_stats.h @@ -19,6 +19,7 @@ class ChromotingStats { virtual ~ChromotingStats(); RateCounter* video_bandwidth() { return &video_bandwidth_; } + RateCounter* video_frame_rate() { return &video_frame_rate_; } RunningAverage* video_capture_ms() { return &video_capture_ms_; } RunningAverage* video_encode_ms() { return &video_encode_ms_; } RunningAverage* video_decode_ms() { return &video_decode_ms_; } @@ -27,6 +28,7 @@ class ChromotingStats { private: RateCounter video_bandwidth_; + RateCounter video_frame_rate_; RunningAverage video_capture_ms_; RunningAverage video_encode_ms_; RunningAverage video_decode_ms_; |