HomeSort by relevance Sort by last modified time
    Searched refs:kThreads (Results 1 - 13 of 13) sorted by null

  /external/compiler-rt/test/tsan/
race_stress.cc 4 const int kThreads = 16;
16 pthread_t th[kThreads];
17 for (int i = 0; i < kThreads; i++)
19 for (int i = 0; i < kThreads; i++)
lots_of_threads.c 13 const int kThreads = 10;
14 barrier_init(&barrier, kThreads + 1);
15 pthread_t t[kThreads];
20 for (int i = 0; i < kThreads; i++)
signal_sync.cc 24 const int kThreads = 10;
25 pthread_t th[kThreads];
26 for (int i = 0; i < kThreads; i++)
47 for (int i = 0; i < kThreads; i++)
real_deadlock_detector_stress_test.cc 13 const int kThreads = 4;
176 pthread_t t[kThreads];
177 for (int i = 0; i < kThreads; i++)
179 for (int i = 0; i < kThreads; i++)
  /external/eigen/unsupported/test/
cxx11_non_blocking_thread_pool.cpp 28 const int kThreads = 16; // code below expects that this is a multiple of 4
29 NonBlockingThreadPool tp(kThreads);
30 VERIFY_IS_EQUAL(tp.NumThreads(), kThreads);
36 // Schedule kThreads tasks and ensure that they all are running.
37 for (int i = 0; i < kThreads; ++i) {
41 VERIFY_LE(thread_id, kThreads - 1);
48 while (running != kThreads) {
52 // Now, while the previous tasks exit, schedule another kThreads tasks and
54 for (int i = 0; i < kThreads; ++i) {
62 // This gives us another kThreads tasks and we ensure that they al
    [all...]
cxx11_eventcount.cpp 81 const int kThreads = std::thread::hardware_concurrency();
85 MaxSizeVector<EventCount::Waiter> waiters(kThreads);
86 waiters.resize(kThreads);
91 for (int i = 0; i < kThreads; i++) {
107 for (int i = 0; i < kThreads; i++) {
132 for (int i = 0; i < kThreads; i++) {
  /external/compiler-rt/lib/tsan/tests/unit/
tsan_mutex_test.cc 65 const int kThreads = 8;
99 pthread_t threads[kThreads];
100 for (int i = 0; i < kThreads; i++)
102 for (int i = 0; i < kThreads; i++)
109 pthread_t threads[kThreads];
110 for (int i = 0; i < kThreads; i++)
112 for (int i = 0; i < kThreads; i++)
119 pthread_t threads[kThreads];
120 for (int i = 0; i < kThreads; i++)
122 for (int i = 0; i < kThreads; i++
    [all...]
tsan_clock_test.cc 215 const uptr kThreads = 4;
221 u64 clock[kThreads];
230 for (uptr i = 0; i < kThreads; i++)
250 u64 clock[kThreads];
257 for (uptr i = 0; i < kThreads; i++)
268 for (uptr i = 0; i < kThreads; i++)
275 for (uptr i = 0; i < kThreads; i++)
287 for (uptr i = 0; i < kThreads; i++)
307 // Create kThreads thread clocks.
308 SimpleThreadClock *thr0[kThreads];
    [all...]
  /external/compiler-rt/lib/sanitizer_common/tests/
sanitizer_mutex_test.cc 70 const int kThreads = 8;
107 pthread_t threads[kThreads];
108 for (int i = 0; i < kThreads; i++)
110 for (int i = 0; i < kThreads; i++)
118 pthread_t threads[kThreads];
119 for (int i = 0; i < kThreads; i++)
121 for (int i = 0; i < kThreads; i++)
129 pthread_t threads[kThreads];
130 for (int i = 0; i < kThreads; i++)
132 for (int i = 0; i < kThreads; i++
    [all...]
  /external/compiler-rt/lib/tsan/tests/rtl/
tsan_thread.cc 48 const int kThreads = 70000;
51 for (int i = 0; i < kThreads; i++) {
tsan_posix.cc 81 const int kThreads = 4;
82 pthread_t th[kThreads];
83 for (int i = 0; i < kThreads; i++)
86 for (int i = 0; i < kThreads; i++)
  /external/compiler-rt/test/msan/
fork.cc 64 const int kThreads = 10;
65 pthread_t t[kThreads];
66 for (int i = 0; i < kThreads; ++i)
  /external/libvpx/libvpx/test/
test_vector_test.cc 34 const int kThreads = 1;
95 const int threads = std::tr1::get<kThreads>(input);

Completed in 834 milliseconds