| 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/system_wrappers/interface/critical_section_wrapper.h" | 21 #include "webrtc/system_wrappers/include/critical_section_wrapper.h" |
| 22 #include "webrtc/system_wrappers/interface/thread_wrapper.h" | 22 #include "webrtc/system_wrappers/include/thread_wrapper.h" |
| 23 | 23 |
| 24 namespace webrtc { | 24 namespace webrtc { |
| 25 namespace testing { | 25 namespace testing { |
| 26 namespace bwe { | 26 namespace bwe { |
| 27 | 27 |
| 28 Logging Logging::g_Logging; | 28 Logging Logging::g_Logging; |
| 29 | 29 |
| 30 static std::string ToString(uint32_t v) { | 30 static std::string ToString(uint32_t v) { |
| 31 std::stringstream ss; | 31 std::stringstream ss; |
| 32 ss << v; | 32 ss << v; |
| (...skipping 208 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 241 // Update time so that next log/plot will use the latest time seen so far | 241 // Update time so that next log/plot will use the latest time seen so far |
| 242 // in this call tree. | 242 // in this call tree. |
| 243 state->timestamp_ms = std::max(state->timestamp_ms, newest_timestamp_ms); | 243 state->timestamp_ms = std::max(state->timestamp_ms, newest_timestamp_ms); |
| 244 } | 244 } |
| 245 } | 245 } |
| 246 } // namespace bwe | 246 } // namespace bwe |
| 247 } // namespace testing | 247 } // namespace testing |
| 248 } // namespace webrtc | 248 } // namespace webrtc |
| 249 | 249 |
| 250 #endif // BWE_TEST_LOGGING_COMPILE_TIME_ENABLE | 250 #endif // BWE_TEST_LOGGING_COMPILE_TIME_ENABLE |
| OLD | NEW |