Home
last modified time | relevance | path

Searched refs:parts_per_million (Results 1 – 7 of 7) sorted by relevance

/third_party/grpc/src/core/ext/filters/client_channel/xds/
Dxds_api.h245 parts_per_million == other.parts_per_million;
249 const uint32_t parts_per_million; member
254 void AddCategory(std::string name, uint32_t parts_per_million) { in AddCategory() argument
256 DropCategory{std::move(name), parts_per_million}); in AddCategory()
257 if (parts_per_million == 1000000) drop_all_ = true; in AddCategory()
Dxds_api.cc118 if (random < drop_category.parts_per_million) { in ShouldDrop()
Dxds_client.cc1114 drop_category.parts_per_million); in AcceptEdsUpdate()
/third_party/grpc/src/core/ext/xds/
Dxds_api.h307 parts_per_million == other.parts_per_million;
311 const uint32_t parts_per_million; member
316 void AddCategory(std::string name, uint32_t parts_per_million) { in AddCategory()
318 DropCategory{std::move(name), parts_per_million}); in AddCategory()
319 if (parts_per_million == 1000000) drop_all_ = true; in AddCategory()
Dxds_api.cc490 if (random < drop_category.parts_per_million) { in ShouldDrop()
502 absl::StrCat(category.name, "=", category.parts_per_million)); in ToString()
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/xds/
Dxds_cluster_resolver.cc944 {"requests_per_million", category.parts_per_million}, in CreateChildPolicyConfigLocked()
/third_party/grpc/test/cpp/end2end/
Dxds_end2end_test.cc778 const uint32_t parts_per_million = p.second; in BuildEdsResource() local
782 drop_percentage->set_numerator(parts_per_million); in BuildEdsResource()