8 float min_delay_us = 1000.0f;
9 float max_delay_us = 5000000.0f;
10 float delay = pow(1.33, retry_count) * min_delay_us;
11 if (delay > max_delay_us) {
15 delay += (float)delay * ((
float)rand() / RAND_MAX - 0.5f) * 0.4f;
16 return roo_time::Micros((uint64_t)delay);