Searched refs:drop_token_counts (Results 1 – 6 of 6) sorted by relevance
/third_party/grpc/src/core/ext/filters/client_channel/lb_policy/grpclb/ |
D | load_balancer_api.cc | 79 const GrpcLbClientStats::DroppedCallCounts* drop_token_counts, in GrpcLbLoadReportRequestCreate() argument 93 if (drop_token_counts != nullptr) { in GrpcLbLoadReportRequestCreate() 94 for (size_t i = 0; i < drop_token_counts->size(); ++i) { in GrpcLbLoadReportRequestCreate() 95 const GrpcLbClientStats::DropTokenCount& cur = (*drop_token_counts)[i]; in GrpcLbLoadReportRequestCreate()
|
D | grpclb_client_stats.cc | 82 std::unique_ptr<DroppedCallCounts>* drop_token_counts) { in Get() argument 90 *drop_token_counts = std::move(drop_token_counts_); in Get()
|
D | load_balancer_api.h | 64 const GrpcLbClientStats::DroppedCallCounts* drop_token_counts,
|
D | grpclb_client_stats.h | 55 std::unique_ptr<DroppedCallCounts>* drop_token_counts);
|
D | grpclb.cc | 940 std::unique_ptr<GrpcLbClientStats::DroppedCallCounts> drop_token_counts; in SendClientLoadReportLocked() local 943 &num_calls_finished_known_received, &drop_token_counts); in SendClientLoadReportLocked() 949 (drop_token_counts == nullptr || drop_token_counts->empty())) { in SendClientLoadReportLocked() 963 num_calls_finished_known_received, drop_token_counts.get(), arena.ptr()); in SendClientLoadReportLocked()
|
/third_party/grpc/test/cpp/end2end/ |
D | grpclb_end2end_test.cc | 191 std::map<std::string, size_t> drop_token_counts; member 200 for (const auto& p : other.drop_token_counts) { in operator +=() 201 drop_token_counts[p.first] += p.second; in operator +=() 211 drop_token_counts.clear(); in Reset() 290 .drop_token_counts[drop_token_count.load_balance_token()] = in BalanceLoad() 325 const std::map<std::string, size_t>& drop_token_counts) { in BuildResponseForBackends() argument 327 for (const auto& drop_token_count : drop_token_counts) { in BuildResponseForBackends() 1883 EXPECT_THAT(client_stats.drop_token_counts, ::testing::ElementsAre()); in TEST_F() 1911 EXPECT_THAT(client_stats.drop_token_counts, ::testing::ElementsAre()); in TEST_F() 1944 EXPECT_THAT(client_stats.drop_token_counts, ::testing::ElementsAre()); in TEST_F() [all …]
|