Home
last modified time | relevance | path

Searched refs:old_throttle_data (Results 1 – 3 of 3) sorted by relevance

/external/grpc-grpc/test/core/client_channel/
Dretry_throttle_test.cc73 auto old_throttle_data = in TEST() local
76 EXPECT_TRUE(old_throttle_data->RecordFailure()); in TEST()
82 10000, 3000, old_throttle_data.get()); in TEST()
84 EXPECT_TRUE(old_throttle_data->RecordFailure()); in TEST()
86 EXPECT_TRUE(old_throttle_data->RecordFailure()); in TEST()
88 EXPECT_FALSE(old_throttle_data->RecordFailure()); in TEST()
94 EXPECT_TRUE(old_throttle_data->RecordFailure()); in TEST()
106 auto old_throttle_data = in TEST() local
109 EXPECT_TRUE(old_throttle_data->RecordFailure()); in TEST()
117 EXPECT_TRUE(old_throttle_data->RecordFailure()); in TEST()
[all …]
/external/grpc-grpc/src/core/ext/filters/client_channel/
Dretry_throttle.cc42 ServerRetryThrottleData* old_throttle_data) in ServerRetryThrottleData() argument
50 if (old_throttle_data != nullptr) { in ServerRetryThrottleData()
53 gpr_atm_acq_load(&old_throttle_data->milli_tokens_)) / in ServerRetryThrottleData()
54 static_cast<double>(old_throttle_data->max_milli_tokens_); in ServerRetryThrottleData()
61 if (old_throttle_data != nullptr) { in ServerRetryThrottleData()
63 gpr_atm_rel_store(&old_throttle_data->replacement_, in ServerRetryThrottleData()
Dretry_throttle.h33 ServerRetryThrottleData* old_throttle_data);