Searched refs:kThreadCount (Results 1 – 7 of 7) sorted by relevance
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()
1038 const int kThreadCount = 7; in TEST() local1039 scoped_ptr<ThreadType> counting_threads[kThreadCount]; in TEST()1043 for (int i = 0; i < kThreadCount; ++i) { in TEST()1050 for (int i = 0; i < kThreadCount; ++i) in TEST()1057 EXPECT_EQ(kCycleCount * kThreadCount, locked_counter.value()); in TEST()
1058 const int kThreadCount = 7; in TEST() local1059 scoped_ptr<ThreadType> counting_threads[kThreadCount]; in TEST()1063 for (int i = 0; i < kThreadCount; ++i) { in TEST()1070 for (int i = 0; i < kThreadCount; ++i) in TEST()1077 EXPECT_EQ(kCycleCount * kThreadCount, locked_counter.value()); in TEST()
193 const int kThreadCount = 10; in TEST_F() local194 WorkQueue queue(kThreadCount); // Start the threads. in TEST_F()376 queue.ThreadSafeCheckShutdown(kThreadCount)); in TEST_F()380 const int kThreadCount = 200; in TEST_F() local381 WorkQueue queue(kThreadCount); // Start the threads. in TEST_F()408 queue.SetTaskCount(20 * kThreadCount); in TEST_F()427 EXPECT_EQ(kThreadCount, queue.GetNumThreadsTakingAssignments()); in TEST_F()428 EXPECT_EQ(kThreadCount, queue.GetNumThreadsCompletingTasks()); in TEST_F()431 EXPECT_EQ(20 * kThreadCount, queue.GetNumberOfCompletedTasks()); in TEST_F()435 queue.SetTaskCount(kThreadCount * 4); in TEST_F()[all …]
53 const int kThreadCount = 50; variable84 for (int i = 0; i < kThreadCount; i++) { in ManyAsserts()
1661 const int kThreadCount = 7; in TEST() local1662 base::PlatformThreadHandle threads[kThreadCount]; in TEST()1663 scoped_ptr<StressTransactionsDelegate> thread_delegates[kThreadCount]; in TEST()1665 for (int i = 0; i < kThreadCount; ++i) { in TEST()1672 for (int i = 0; i < kThreadCount; ++i) { in TEST()