| 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_logging.h" | 11 #include "webrtc/modules/remote_bitrate_estimator/test/bwe_test_logging.h" |
| 12 | 12 |
| 13 #if BWE_TEST_LOGGING_COMPILE_TIME_ENABLE | 13 #if BWE_TEST_LOGGING_COMPILE_TIME_ENABLE |
| 14 | 14 |
| 15 #include <stdarg.h> | 15 #include <stdarg.h> |
| 16 #include <stdio.h> | 16 #include <stdio.h> |
| 17 | 17 |
| 18 #include <algorithm> | 18 #include <algorithm> |
| 19 #include <sstream> | 19 #include <sstream> |
| 20 | 20 |
| 21 #include "webrtc/base/checks.h" | 21 #include "webrtc/rtc_base/checks.h" |
| 22 #include "webrtc/base/format_macros.h" | 22 #include "webrtc/rtc_base/format_macros.h" |
| 23 #include "webrtc/base/platform_thread.h" | 23 #include "webrtc/rtc_base/platform_thread.h" |
| 24 | 24 |
| 25 namespace webrtc { | 25 namespace webrtc { |
| 26 namespace testing { | 26 namespace testing { |
| 27 namespace bwe { | 27 namespace bwe { |
| 28 | 28 |
| 29 Logging Logging::g_Logging; | 29 Logging Logging::g_Logging; |
| 30 | 30 |
| 31 static std::string ToString(uint32_t v) { | 31 static std::string ToString(uint32_t v) { |
| 32 std::stringstream ss; | 32 std::stringstream ss; |
| 33 ss << v; | 33 ss << v; |
| (...skipping 216 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 // Update time so that next log/plot will use the latest time seen so far | 250 // Update time so that next log/plot will use the latest time seen so far |
| 251 // in this call tree. | 251 // in this call tree. |
| 252 state->timestamp_ms = std::max(state->timestamp_ms, newest_timestamp_ms); | 252 state->timestamp_ms = std::max(state->timestamp_ms, newest_timestamp_ms); |
| 253 } | 253 } |
| 254 } | 254 } |
| 255 } // namespace bwe | 255 } // namespace bwe |
| 256 } // namespace testing | 256 } // namespace testing |
| 257 } // namespace webrtc | 257 } // namespace webrtc |
| 258 | 258 |
| 259 #endif // BWE_TEST_LOGGING_COMPILE_TIME_ENABLE | 259 #endif // BWE_TEST_LOGGING_COMPILE_TIME_ENABLE |
| OLD | NEW |