Home
last modified time | relevance | path

Searched refs:threadWaitTimes (Results 1 – 2 of 2) sorted by relevance

/system/tools/aidl/tests/lazy_test/
Dmain.cpp132 std::vector<std::vector<size_t>> threadWaitTimes(NUM_CONCURRENT_THREADS); in testConcurrentThreadsWithDelays() local
134 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()
/system/tools/hidl/test/lazy_test/
Dhidl_lazy_test.cpp137 std::vector<std::vector<size_t>> threadWaitTimes(NUM_CONCURRENT_THREADS); in TEST_F() local
139 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()