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/file_util.h" | 6 #include "base/files/file_util.h" |
7 #include "base/message_loop/message_loop.h" | 7 #include "base/message_loop/message_loop.h" |
8 #include "base/rand_util.h" | 8 #include "base/rand_util.h" |
9 #include "base/run_loop.h" | 9 #include "base/run_loop.h" |
10 #include "base/single_thread_task_runner.h" | 10 #include "base/single_thread_task_runner.h" |
11 #include "base/synchronization/waitable_event.h" | 11 #include "base/synchronization/waitable_event.h" |
12 #include "base/thread_task_runner_handle.h" | 12 #include "base/thread_task_runner_handle.h" |
13 #include "jingle/glue/thread_wrapper.h" | 13 #include "jingle/glue/thread_wrapper.h" |
14 #include "net/base/test_data_directory.h" | 14 #include "net/base/test_data_directory.h" |
15 #include "net/url_request/url_request_context_getter.h" | 15 #include "net/url_request/url_request_context_getter.h" |
16 #include "remoting/base/rsa_key_pair.h" | 16 #include "remoting/base/rsa_key_pair.h" |
(...skipping 460 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
477 << "ms Encode: " << last_video_packet_->encode_time_ms() | 477 << "ms Encode: " << last_video_packet_->encode_time_ms() |
478 << "ms Capture: " << last_video_packet_->capture_time_ms() | 478 << "ms Capture: " << last_video_packet_->capture_time_ms() |
479 << "ms"; | 479 << "ms"; |
480 sum += latency; | 480 sum += latency; |
481 } | 481 } |
482 | 482 |
483 LOG(INFO) << "Average: " << (sum / kFrames).InMillisecondsF(); | 483 LOG(INFO) << "Average: " << (sum / kFrames).InMillisecondsF(); |
484 } | 484 } |
485 | 485 |
486 } // namespace remoting | 486 } // namespace remoting |
OLD | NEW |