OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "mojo/public/c/environment/tests/async_waiter_perftest_helpers.h" | 5 #include "mojo/public/c/tests/environment/async_waiter_perftest_helpers.h" |
6 | 6 |
7 #include <assert.h> | 7 #include <assert.h> |
8 #include <mojo/system/handle.h> | 8 #include <mojo/system/handle.h> |
9 #include <mojo/system/message_pipe.h> | 9 #include <mojo/system/message_pipe.h> |
10 | 10 |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 #include "mojo/public/cpp/system/macros.h" | 13 #include "mojo/public/cpp/system/macros.h" |
14 | 14 |
15 #undef CHECK_OK | 15 #undef CHECK_OK |
(...skipping 111 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 | 127 |
128 uint64_t DoAsyncWaiterPerfTest(const MojoAsyncWaiter* async_waiter, | 128 uint64_t DoAsyncWaiterPerfTest(const MojoAsyncWaiter* async_waiter, |
129 uint32_t num_handles, | 129 uint32_t num_handles, |
130 std::function<void()> run_loop_function) { | 130 std::function<void()> run_loop_function) { |
131 return AsyncWaiterPerfTest(async_waiter, num_handles, run_loop_function) | 131 return AsyncWaiterPerfTest(async_waiter, num_handles, run_loop_function) |
132 .DoIt(); | 132 .DoIt(); |
133 } | 133 } |
134 | 134 |
135 } // namespace test | 135 } // namespace test |
136 } // namespace mojo | 136 } // namespace mojo |
OLD | NEW |