Home
last modified time | relevance | path

Searched refs:drop_category (Results 1 – 5 of 5) sorted by relevance

/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/xds/
Dxds_cluster_impl.cc295 const std::string* drop_category; in Pick() local
296 if (drop_config_->ShouldDrop(&drop_category)) { in Pick()
297 if (drop_stats_ != nullptr) drop_stats_->AddCallDropped(*drop_category); in Pick()
Deds.cc236 const std::string* drop_category; in Pick() local
237 if (drop_config_->ShouldDrop(&drop_category)) { in Pick()
238 if (drop_stats_ != nullptr) drop_stats_->AddCallDropped(*drop_category); in Pick()
/third_party/grpc/src/core/ext/filters/client_channel/xds/
Dxds_api.cc115 const auto& drop_category = drop_category_list_[i]; in ShouldDrop() local
118 if (random < drop_category.parts_per_million) { in ShouldDrop()
119 *category_name = &drop_category.name; in ShouldDrop()
Dxds_client.cc1109 const XdsApi::DropConfig::DropCategory& drop_category = in AcceptEdsUpdate() local
1113 xds_client(), drop_category.name.c_str(), in AcceptEdsUpdate()
1114 drop_category.parts_per_million); in AcceptEdsUpdate()
/third_party/grpc/src/core/ext/xds/
Dxds_api.cc487 const auto& drop_category = drop_category_list_[i]; in ShouldDrop() local
490 if (random < drop_category.parts_per_million) { in ShouldDrop()
491 *category_name = &drop_category.name; in ShouldDrop()