| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "base/base64.h" | 5 #include "base/base64.h" |
| 6 #include "base/files/file_util.h" | 6 #include "base/files/file_util.h" |
| 7 #include "base/macros.h" |
| 7 #include "base/message_loop/message_loop.h" | 8 #include "base/message_loop/message_loop.h" |
| 8 #include "base/rand_util.h" | 9 #include "base/rand_util.h" |
| 9 #include "base/run_loop.h" | 10 #include "base/run_loop.h" |
| 10 #include "base/single_thread_task_runner.h" | 11 #include "base/single_thread_task_runner.h" |
| 11 #include "base/synchronization/waitable_event.h" | 12 #include "base/synchronization/waitable_event.h" |
| 12 #include "base/thread_task_runner_handle.h" | 13 #include "base/thread_task_runner_handle.h" |
| 13 #include "jingle/glue/thread_wrapper.h" | 14 #include "jingle/glue/thread_wrapper.h" |
| 14 #include "net/base/test_data_directory.h" | 15 #include "net/base/test_data_directory.h" |
| 15 #include "net/url_request/url_request_context_getter.h" | 16 #include "net/url_request/url_request_context_getter.h" |
| 16 #include "remoting/base/rsa_key_pair.h" | 17 #include "remoting/base/rsa_key_pair.h" |
| (...skipping 470 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 487 << "ms Encode: " << last_video_packet_->encode_time_ms() | 488 << "ms Encode: " << last_video_packet_->encode_time_ms() |
| 488 << "ms Capture: " << last_video_packet_->capture_time_ms() | 489 << "ms Capture: " << last_video_packet_->capture_time_ms() |
| 489 << "ms"; | 490 << "ms"; |
| 490 sum += latency; | 491 sum += latency; |
| 491 } | 492 } |
| 492 | 493 |
| 493 LOG(INFO) << "Average: " << (sum / kFrames).InMillisecondsF(); | 494 LOG(INFO) << "Average: " << (sum / kFrames).InMillisecondsF(); |
| 494 } | 495 } |
| 495 | 496 |
| 496 } // namespace remoting | 497 } // namespace remoting |
| OLD | NEW |