Home | History | Annotate | Download | only in tests

Lines Matching refs:THREAD_COUNT

1822   size_t thread_count;
1829 BarrierTestHelperData(size_t thread_count, size_t iteration_count)
1830 : thread_count(thread_count), finished_mask(0), serial_thread_count(0),
1849 if (arg->data->finished_mask == ((1 << arg->data->thread_count) - 1)) {
1862 ASSERT_EQ(0, pthread_barrier_init(&data.barrier, nullptr, data.thread_count));
1863 std::vector<pthread_t> threads(data.thread_count);
1930 const size_t THREAD_COUNT = 4;
1932 ASSERT_EQ(0, pthread_barrier_init(&barrier, nullptr, THREAD_COUNT));
1933 size_t array[THREAD_COUNT];
1934 std::vector<pthread_t> threads(THREAD_COUNT);
1935 std::vector<BarrierOrderingTestHelperArg> args(THREAD_COUNT);
1936 for (size_t i = 0; i < THREAD_COUNT; ++i) {
1939 args[i].array_length = THREAD_COUNT;
1945 for (size_t i = 0; i < THREAD_COUNT; ++i) {