OLD | NEW |
---|---|
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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
243 | 243 |
244 void LogStats(); | 244 void LogStats(); |
245 Stats<double> GetBitrateStats() const; | 245 Stats<double> GetBitrateStats() const; |
246 virtual void Plot(int64_t timestamp_ms); | 246 virtual void Plot(int64_t timestamp_ms); |
247 virtual void RunFor(int64_t time_ms, Packets* in_out); | 247 virtual void RunFor(int64_t time_ms, Packets* in_out); |
248 | 248 |
249 private: | 249 private: |
250 Stats<double> packets_per_second_stats_; | 250 Stats<double> packets_per_second_stats_; |
251 Stats<double> kbps_stats_; | 251 Stats<double> kbps_stats_; |
252 int64_t start_plotting_time_ms_; | 252 int64_t start_plotting_time_ms_; |
253 int flow_id_; | 253 int flow_id_ ATTRIBUTE_UNUSED; |
kwiberg-webrtc
2017/02/09 09:48:43
Why not remove it if it's unused? (Or if it's used
nisse-webrtc
2017/02/09 11:26:18
Changed to #if. It's mentioned in two constructors
| |
254 std::string name_; | 254 std::string name_; |
255 // Algorithm name if single flow, Total link utilization if all flows. | 255 // Algorithm name if single flow, Total link utilization if all flows. |
256 std::string algorithm_name_; | 256 std::string algorithm_name_; |
257 | 257 |
258 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RateCounterFilter); | 258 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RateCounterFilter); |
259 }; | 259 }; |
260 | 260 |
261 class LossFilter : public PacketProcessor { | 261 class LossFilter : public PacketProcessor { |
262 public: | 262 public: |
263 LossFilter(PacketProcessorListener* listener, int flow_id); | 263 LossFilter(PacketProcessorListener* listener, int flow_id); |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
463 uint32_t frame_counter_; | 463 uint32_t frame_counter_; |
464 int compensation_bytes_; | 464 int compensation_bytes_; |
465 int compensation_per_frame_; | 465 int compensation_per_frame_; |
466 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(PeriodicKeyFrameSource); | 466 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(PeriodicKeyFrameSource); |
467 }; | 467 }; |
468 } // namespace bwe | 468 } // namespace bwe |
469 } // namespace testing | 469 } // namespace testing |
470 } // namespace webrtc | 470 } // namespace webrtc |
471 | 471 |
472 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_BWE_TEST_FRAMEWORK_H_ | 472 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_BWE_TEST_FRAMEWORK_H_ |
OLD | NEW |