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

Side by Side Diff: webrtc/video/receive_statistics_proxy.h

Issue 1279433006: Add a rate tracker that tracks rate over a given interval split up into buckets that accumulate uni… (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: New tests and readability fixes. Created 5 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 unified diff | Download patch
« no previous file with comments | « webrtc/p2p/base/tcpport.cc ('k') | webrtc/video/receive_statistics_proxy.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved. 2 * Copyright (c) 2013 The WebRTC project authors. All Rights Reserved.
3 * 3 *
4 * Use of this source code is governed by a BSD-style license 4 * Use of this source code is governed by a BSD-style license
5 * that can be found in the LICENSE file in the root of the source 5 * that can be found in the LICENSE file in the root of the source
6 * tree. An additional intellectual property rights grant can be found 6 * tree. An additional intellectual property rights grant can be found
7 * in the file PATENTS. All contributing project authors may 7 * in the file PATENTS. All contributing project authors may
8 * be found in the AUTHORS file in the root of the source tree. 8 * be found in the AUTHORS file in the root of the source tree.
9 */ 9 */
10 10
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 }; 89 };
90 90
91 void UpdateHistograms() EXCLUSIVE_LOCKS_REQUIRED(crit_); 91 void UpdateHistograms() EXCLUSIVE_LOCKS_REQUIRED(crit_);
92 92
93 Clock* const clock_; 93 Clock* const clock_;
94 94
95 mutable rtc::CriticalSection crit_; 95 mutable rtc::CriticalSection crit_;
96 VideoReceiveStream::Stats stats_ GUARDED_BY(crit_); 96 VideoReceiveStream::Stats stats_ GUARDED_BY(crit_);
97 RateStatistics decode_fps_estimator_ GUARDED_BY(crit_); 97 RateStatistics decode_fps_estimator_ GUARDED_BY(crit_);
98 RateStatistics renders_fps_estimator_ GUARDED_BY(crit_); 98 RateStatistics renders_fps_estimator_ GUARDED_BY(crit_);
99 rtc::RateTracker render_fps_tracker_total_ GUARDED_BY(crit_); 99 rtc::RateTracker render_fps_tracker_ GUARDED_BY(crit_);
100 SampleCounter render_width_counter_ GUARDED_BY(crit_); 100 SampleCounter render_width_counter_ GUARDED_BY(crit_);
101 SampleCounter render_height_counter_ GUARDED_BY(crit_); 101 SampleCounter render_height_counter_ GUARDED_BY(crit_);
102 SampleCounter decode_time_counter_ GUARDED_BY(crit_); 102 SampleCounter decode_time_counter_ GUARDED_BY(crit_);
103 ReportBlockStats report_block_stats_ GUARDED_BY(crit_); 103 ReportBlockStats report_block_stats_ GUARDED_BY(crit_);
104 }; 104 };
105 105
106 } // namespace webrtc 106 } // namespace webrtc
107 #endif // WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_ 107 #endif // WEBRTC_VIDEO_RECEIVE_STATISTICS_PROXY_H_
OLDNEW
« no previous file with comments | « webrtc/p2p/base/tcpport.cc ('k') | webrtc/video/receive_statistics_proxy.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698