Lines Matching refs:kThreadCount
258 const int kThreadCount = 10; in TEST_F() local
259 WorkQueue queue(kThreadCount); // Start the threads. in TEST_F()
398 queue.ThreadSafeCheckShutdown(kThreadCount)); in TEST_F()
408 const int kThreadCount = 200; in TEST_F() local
409 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()
483 EXPECT_EQ(kThreadCount, queue.GetNumThreadsTakingAssignments()); in TEST_F()
484 EXPECT_EQ(kThreadCount, queue.GetNumThreadsCompletingTasks()); in TEST_F()
487 EXPECT_EQ(4 * kThreadCount, queue.GetNumberOfCompletedTasks()); in TEST_F()
495 queue.ThreadSafeCheckShutdown(kThreadCount)); in TEST_F()