Home
last modified time | relevance | path

Searched refs:kThreadCount (Results 1 – 3 of 3) sorted by relevance

/external/chromium/base/
Dcondition_variable_unittest.cc189 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()
[all …]
/external/protobuf/gtest/test/
Dgtest_stress_test.cc53 const int kThreadCount = 50; variable
84 for (int i = 0; i < kThreadCount; i++) { in ManyAsserts()
/external/gtest/test/
Dgtest_stress_test.cc55 const int kThreadCount = 50; variable
85 for (int i = 0; i < kThreadCount; i++) { in ManyAsserts()