Home
last modified time | relevance | path

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

/external/grpc-grpc/test/core/util/
Dreconnect_server.cc38 double expected_backoff = 1000.0, backoff; in pretty_print_backoffs() local
46 i, backoff / 1000.0, expected_backoff / 1000.0, in pretty_print_backoffs()
47 (backoff - expected_backoff) * 100.0 / expected_backoff); in pretty_print_backoffs()
48 expected_backoff *= 1.6; in pretty_print_backoffs()
53 if (expected_backoff > max_reconnect_backoff_ms) { in pretty_print_backoffs()
54 expected_backoff = max_reconnect_backoff_ms; in pretty_print_backoffs()
/external/grpc-grpc/test/cpp/interop/
Dreconnect_interop_server.cc120 double expected_backoff = 1000.0; in Verify() local
132 double min_backoff = expected_backoff * (1 - kJitterFactor); in Verify()
133 double max_backoff = expected_backoff * (1 + kJitterFactor); in Verify()
139 expected_backoff *= kBackoffMultiplier; in Verify()
140 expected_backoff = in Verify()
141 expected_backoff > kMaxBackoffMs ? kMaxBackoffMs : expected_backoff; in Verify()