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 #if BWE_TEST_LOGGING_COMPILE_TIME_ENABLE |
254 int flow_id_ = 0; | |
255 #endif | |
pthatcher1
2017/02/10 23:44:17
I don't understand why BWE_TEST_LOGGING_COMPILE_TI
kwiberg-webrtc
2017/02/11 21:30:06
I think it is because this variable is only used b
nisse-webrtc
2017/02/13 12:05:51
You're right. Without these #ifdefs, I get warning
| |
254 std::string name_; | 256 std::string name_; |
255 // Algorithm name if single flow, Total link utilization if all flows. | 257 // Algorithm name if single flow, Total link utilization if all flows. |
256 std::string algorithm_name_; | 258 std::string algorithm_name_; |
257 | 259 |
258 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RateCounterFilter); | 260 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(RateCounterFilter); |
259 }; | 261 }; |
260 | 262 |
261 class LossFilter : public PacketProcessor { | 263 class LossFilter : public PacketProcessor { |
262 public: | 264 public: |
263 LossFilter(PacketProcessorListener* listener, int flow_id); | 265 LossFilter(PacketProcessorListener* listener, int flow_id); |
(...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
463 uint32_t frame_counter_; | 465 uint32_t frame_counter_; |
464 int compensation_bytes_; | 466 int compensation_bytes_; |
465 int compensation_per_frame_; | 467 int compensation_per_frame_; |
466 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(PeriodicKeyFrameSource); | 468 RTC_DISALLOW_IMPLICIT_CONSTRUCTORS(PeriodicKeyFrameSource); |
467 }; | 469 }; |
468 } // namespace bwe | 470 } // namespace bwe |
469 } // namespace testing | 471 } // namespace testing |
470 } // namespace webrtc | 472 } // namespace webrtc |
471 | 473 |
472 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_BWE_TEST_FRAMEWORK_H_ | 474 #endif // WEBRTC_MODULES_REMOTE_BITRATE_ESTIMATOR_TEST_BWE_TEST_FRAMEWORK_H_ |
OLD | NEW |