Searched refs:maxWait (Results 1 – 2 of 2) sorted by relevance
97 static std::vector<size_t> waitTimes(size_t numTimes, size_t maxWait) { in waitTimes() argument100 times.at(i) = (size_t)(rand() % (maxWait + 1)); in waitTimes()133 int maxWait = 0; in testConcurrentThreadsWithDelays() local137 maxWait = std::max(maxWait, totalWait); in testConcurrentThreadsWithDelays()139 std::cout << "Additional runtime expected from sleeps: " << maxWait << " second(s)." << std::endl; in testConcurrentThreadsWithDelays()
109 static std::vector<size_t> waitTimes(size_t numTimes, size_t maxWait) { in waitTimes() argument112 times[i] = (size_t)(rand() % (maxWait + 1)); in waitTimes()