Searched refs:threadCount (Results 1 – 9 of 9) sorted by relevance
49 static void doSomeWork(int threadCount) { in doSomeWork() argument50 mArray = new int[threadCount][ARRAY_SIZE]; in doSomeWork()51 WorkerThread[] threads = new WorkerThread[threadCount]; in doSomeWork()53 for (int i = 0; i < threadCount; ++i) { in doSomeWork()57 for (int i = 0; i < threadCount; ++i) { in doSomeWork()61 for (int i = 0; i < threadCount; ++i) { in doSomeWork()
41 int threadCount = 1024; in getThreadCount() local47 threadCount = 128; in getThreadCount()49 return threadCount; in getThreadCount()
152 int threadCount = 0; in checkResults() local154 assertEquals(threadIds[threadCount], threadCpuUsage.threadId); in checkResults()155 assertEquals(threadNames[threadCount], threadCpuUsage.threadName); in checkResults()159 cpuTimes[threadCount][i] * 10, in checkResults()165 threadCount++; in checkResults()168 assertEquals(threadCount, threadIds.length); in checkResults()
157 bool WorkerPool::init(int threadCount) { in init() argument159 if (threadCount > 0) { in init()160 cpu = threadCount; in init()
32 bool init(int threadCount = -1);
177 final int threadCount = 4; in testMultithreadCacheStressTest() local178 final Thread[] threads = new Thread[threadCount]; in testMultithreadCacheStressTest()179 for (int i = 0; i < threadCount; ++i) { in testMultithreadCacheStressTest()183 for (int i = 0; i < threadCount; ++i) { in testMultithreadCacheStressTest()187 for (int i = 0; i < threadCount; ++i) { in testMultithreadCacheStressTest()
228 int threadCount = 1; in main() local247 threadCount = atoi(optarg); in main()289 std::vector<std::future<void>> threads(threadCount); in main()
155 const size_t threadCount = mThreads.size(); in launch() local156 if (threadCount < mMaxThreadCount) { in launch()
41 TEST(DISABLED_CommonPool, threadCount) { in TEST() argument