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 |
11 #include "webrtc/modules/remote_bitrate_estimator/test/bwe_test.h" | 11 #include "webrtc/modules/remote_bitrate_estimator/test/bwe_test.h" |
12 | 12 |
13 #include <memory> | 13 #include <memory> |
14 #include <sstream> | 14 #include <sstream> |
15 | 15 |
16 #include "webrtc/base/arraysize.h" | |
17 #include "webrtc/modules/include/module_common_types.h" | 16 #include "webrtc/modules/include/module_common_types.h" |
18 #include "webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h" | 17 #include "webrtc/modules/remote_bitrate_estimator/test/bwe_test_framework.h" |
19 #include "webrtc/modules/remote_bitrate_estimator/test/metric_recorder.h" | 18 #include "webrtc/modules/remote_bitrate_estimator/test/metric_recorder.h" |
20 #include "webrtc/modules/remote_bitrate_estimator/test/packet_receiver.h" | 19 #include "webrtc/modules/remote_bitrate_estimator/test/packet_receiver.h" |
21 #include "webrtc/modules/remote_bitrate_estimator/test/packet_sender.h" | 20 #include "webrtc/modules/remote_bitrate_estimator/test/packet_sender.h" |
| 21 #include "webrtc/rtc_base/arraysize.h" |
22 #include "webrtc/system_wrappers/include/clock.h" | 22 #include "webrtc/system_wrappers/include/clock.h" |
23 #include "webrtc/system_wrappers/include/field_trial.h" | 23 #include "webrtc/system_wrappers/include/field_trial.h" |
24 #include "webrtc/test/testsupport/perf_test.h" | 24 #include "webrtc/test/testsupport/perf_test.h" |
25 | 25 |
26 using std::vector; | 26 using std::vector; |
27 | 27 |
28 namespace { | 28 namespace { |
29 const int kQuickTestTimeoutMs = 500; | 29 const int kQuickTestTimeoutMs = 500; |
30 } | 30 } |
31 | 31 |
(...skipping 955 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
987 tcp_starting_times_ms.push_back( | 987 tcp_starting_times_ms.push_back( |
988 static_cast<int64_t>(random.Exponential(1.0f / kMeanMs))); | 988 static_cast<int64_t>(random.Exponential(1.0f / kMeanMs))); |
989 } | 989 } |
990 | 990 |
991 return tcp_starting_times_ms; | 991 return tcp_starting_times_ms; |
992 } | 992 } |
993 | 993 |
994 } // namespace bwe | 994 } // namespace bwe |
995 } // namespace testing | 995 } // namespace testing |
996 } // namespace webrtc | 996 } // namespace webrtc |
OLD | NEW |