Lines Matching refs:kThreadCount
189 const int kThreadCount = 10; in TEST_F() local
190 WorkQueue queue(kThreadCount); // Start the threads. in TEST_F()
384 queue.ThreadSafeCheckShutdown(kThreadCount)); in TEST_F()
389 const int kThreadCount = 200; in TEST_F() local
390 WorkQueue queue(kThreadCount); // Start the threads. in TEST_F()
417 queue.SetTaskCount(20 * kThreadCount); in TEST_F()
433 20 * kThreadCount == in TEST_F()
440 EXPECT_EQ(kThreadCount, queue.GetNumThreadsTakingAssignments()); in TEST_F()
441 EXPECT_EQ(kThreadCount, queue.GetNumThreadsCompletingTasks()); in TEST_F()
444 EXPECT_EQ(20 * kThreadCount, queue.GetNumberOfCompletedTasks()); in TEST_F()
448 queue.SetTaskCount(kThreadCount * 4); in TEST_F()
465 4 * kThreadCount == in TEST_F()
472 EXPECT_EQ(kThreadCount, queue.GetNumThreadsTakingAssignments()); in TEST_F()
473 EXPECT_EQ(kThreadCount, queue.GetNumThreadsCompletingTasks()); in TEST_F()
476 EXPECT_EQ(4 * kThreadCount, queue.GetNumberOfCompletedTasks()); in TEST_F()
484 queue.ThreadSafeCheckShutdown(kThreadCount)); in TEST_F()