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 <stddef.h> |
| 6 #include <stdint.h> |
| 7 |
5 #include "base/bind.h" | 8 #include "base/bind.h" |
6 #include "base/format_macros.h" | 9 #include "base/format_macros.h" |
7 #include "base/memory/scoped_vector.h" | 10 #include "base/memory/scoped_vector.h" |
8 #include "base/strings/stringprintf.h" | 11 #include "base/strings/stringprintf.h" |
9 #include "base/synchronization/condition_variable.h" | 12 #include "base/synchronization/condition_variable.h" |
10 #include "base/synchronization/lock.h" | 13 #include "base/synchronization/lock.h" |
11 #include "base/synchronization/waitable_event.h" | 14 #include "base/synchronization/waitable_event.h" |
12 #include "base/threading/thread.h" | 15 #include "base/threading/thread.h" |
13 #include "base/time/time.h" | 16 #include "base/time/time.h" |
14 #include "build/build_config.h" | 17 #include "build/build_config.h" |
(...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
292 | 295 |
293 TEST_F(PostTaskTest, TenTasksPerReload) { | 296 TEST_F(PostTaskTest, TenTasksPerReload) { |
294 Run(10000, 10); | 297 Run(10000, 10); |
295 } | 298 } |
296 | 299 |
297 TEST_F(PostTaskTest, OneHundredTasksPerReload) { | 300 TEST_F(PostTaskTest, OneHundredTasksPerReload) { |
298 Run(1000, 100); | 301 Run(1000, 100); |
299 } | 302 } |
300 | 303 |
301 } // namespace base | 304 } // namespace base |
OLD | NEW |