Searched refs:kThreadCount (Results 1 – 8 of 8) sorted by relevance
92 static const uptr kThreadCount = 50; variable99 volatile int counters[kThreadCount];100 pthread_t thread_ids[kThreadCount];118 if (this_thread_index + 1 < kThreadCount) { in AdvancedIncrementerThread()127 kThreadCount - callback_argument->thread_index); in AdvancedIncrementerThread()148 int counters_at_init[kThreadCount]; in AdvancedCallback()149 for (uptr j = 0; j < kThreadCount; j++) in AdvancedCallback()154 for (uptr j = 0; j < kThreadCount; j++) in AdvancedCallback()182 while (__sync_fetch_and_add(&argument.thread_index, 0) < kThreadCount) in TEST()187 for (uptr i = 0; i < kThreadCount; i++) in TEST()
67 for (uptr i = 0; i < kThreadCount; i++) { in SetUp()85 static const uptr kThreadCount = 20; member in __sanitizer::ThreadListerTest
54 const int kThreadCount = 50; variable86 for (int i = 0; i < kThreadCount; i++) { in ManyAsserts()121 std::unique_ptr<ThreadWithParam<int> > threads[kThreadCount]; in TEST()123 for (int i = 0; i != kThreadCount; i++) in TEST()131 for (int i = 0; i != kThreadCount; i++) in TEST()145 EXPECT_EQ(kThreadCount * 2 + 1, result->test_property_count()) in TEST()148 for (int i = 0; i < kThreadCount; ++i) { in TEST()152 CheckTestFailureCount(kThreadCount*kThreadCount); in TEST()
1092 const int kThreadCount = 7; in TEST() local1093 std::unique_ptr<ThreadType> counting_threads[kThreadCount]; in TEST()1097 for (int i = 0; i < kThreadCount; ++i) { in TEST()1104 for (int i = 0; i < kThreadCount; ++i) in TEST()1111 EXPECT_EQ(kCycleCount * kThreadCount, locked_counter.value()); in TEST()
63 const int kThreadCount = 50; variable95 for (int i = 0; i < kThreadCount; i++) { in ManyAsserts()130 scoped_ptr<ThreadWithParam<int> > threads[kThreadCount]; in TEST()132 for (int i = 0; i != kThreadCount; i++) in TEST()140 for (int i = 0; i != kThreadCount; i++) in TEST()154 EXPECT_EQ(kThreadCount * 2 + 1, result->test_property_count()) in TEST()157 for (int i = 0; i < kThreadCount; ++i) { in TEST()161 CheckTestFailureCount(kThreadCount*kThreadCount); in TEST()
1064 const int kThreadCount = 7; in TEST() local1065 scoped_ptr<ThreadType> counting_threads[kThreadCount]; in TEST()1069 for (int i = 0; i < kThreadCount; ++i) { in TEST()1076 for (int i = 0; i < kThreadCount; ++i) in TEST()1083 EXPECT_EQ(kCycleCount * kThreadCount, locked_counter.value()); in TEST()
258 const int kThreadCount = 10; in TEST_F() local259 WorkQueue queue(kThreadCount); // Start the threads. in TEST_F()398 queue.ThreadSafeCheckShutdown(kThreadCount)); in TEST_F()408 const int kThreadCount = 200; in TEST_F() local409 WorkQueue queue(kThreadCount); // Start the threads. in TEST_F()436 queue.SetTaskCount(20 * kThreadCount); in TEST_F()455 EXPECT_EQ(kThreadCount, queue.GetNumThreadsTakingAssignments()); in TEST_F()456 EXPECT_EQ(kThreadCount, queue.GetNumThreadsCompletingTasks()); in TEST_F()459 EXPECT_EQ(20 * kThreadCount, queue.GetNumberOfCompletedTasks()); in TEST_F()463 queue.SetTaskCount(kThreadCount * 4); in TEST_F()[all …]
179 const int kThreadCount = 8; in TEST() local193 pthread_t threads[kThreadCount]; in TEST()194 for (int t = 0; t < kThreadCount; t++) in TEST()196 for (int t = 0; t < kThreadCount; t++) in TEST()