Searched refs:max_sleep (Results 1 – 2 of 2) sorted by relevance
317 def RandSleep(self, min_sleep, max_sleep): argument324 duration = random.randint(min_sleep, max_sleep)/1000.0
455 void SleepRandomMs(int max_sleep, RandomGenerator* rand_gen) { in SleepRandomMs() argument456 int sleeptime = rand_gen->RandInt(0, max_sleep); in SleepRandomMs()