Searched refs:threadWaitTimes (Results 1 – 2 of 2) sorted by relevance
132 std::vector<std::vector<size_t>> threadWaitTimes(NUM_CONCURRENT_THREADS); in testConcurrentThreadsWithDelays() local134 for (size_t i = 0; i < threadWaitTimes.size(); i++) { in testConcurrentThreadsWithDelays()135 threadWaitTimes.at(i) = waitTimes(NUM_TIMES_GET_RELEASE * nServices, MAX_WAITING_DURATION); in testConcurrentThreadsWithDelays()136 int totalWait = std::accumulate(threadWaitTimes.at(i).begin(), threadWaitTimes.at(i).end(), 0); in testConcurrentThreadsWithDelays()143 threads.at(i) = std::thread(testWithTimes, threadWaitTimes.at(i), delayBeforeGet); in testConcurrentThreadsWithDelays()
137 std::vector<std::vector<size_t>> threadWaitTimes(NUM_CONCURRENT_THREADS); in TEST_F() local139 for (size_t i = 0; i < threadWaitTimes.size(); i++) { in TEST_F()140 threadWaitTimes[i] = waitTimes(NUM_TIMES_GET_UNGET, MAX_WAITING_DURATION); in TEST_F()146 threads[i] = std::thread(testWithTimes, threadWaitTimes[i], instance); in TEST_F()