Searched refs:threadWaitTimes (Results 1 – 2 of 2) sorted by relevance
159 std::vector<std::vector<size_t>> threadWaitTimes(NUM_CONCURRENT_THREADS); in testConcurrentThreadsWithDelays() local161 for (size_t i = 0; i < threadWaitTimes.size(); i++) { in testConcurrentThreadsWithDelays()162 threadWaitTimes.at(i) = waitMs(NUM_TIMES_GET_RELEASE * nServices, MAX_WAITING_DURATION_MS); in testConcurrentThreadsWithDelays()163 int totalWait = std::accumulate(threadWaitTimes.at(i).begin(), threadWaitTimes.at(i).end(), 0); in testConcurrentThreadsWithDelays()171 threads.at(i) = std::thread(testWithTimes, threadWaitTimes.at(i), delayBeforeGet); in testConcurrentThreadsWithDelays()
174 std::vector<std::vector<size_t>> threadWaitTimes(NUM_CONCURRENT_THREADS); in TEST_F() local176 for (size_t i = 0; i < threadWaitTimes.size(); i++) { in TEST_F()177 threadWaitTimes[i] = waitTimes(NUM_TIMES_GET_UNGET, MAX_WAITING_DURATION); in TEST_F()183 threads[i] = std::thread(testWithTimes, threadWaitTimes[i], instance); in TEST_F()