Home
last modified time | relevance | path

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

/third_party/grpc/src/cpp/server/load_reporter/
Dload_reporter.cc248 while (feedback_records_.size() > 1 && in GenerateLoadBalancingFeedback()
249 !IsRecordInWindow(feedback_records_[1], now)) { in GenerateLoadBalancingFeedback()
250 feedback_records_.pop_front(); in GenerateLoadBalancingFeedback()
252 if (feedback_records_.size() < 2) { in GenerateLoadBalancingFeedback()
256 auto oldest = feedback_records_.begin(); in GenerateLoadBalancingFeedback()
257 auto newest = feedback_records_.end() - 1; in GenerateLoadBalancingFeedback()
377 feedback_records_.emplace_back(std::chrono::system_clock::now(), rpcs, errors, in AppendNewFeedbackRecord()
Dload_reporter.h218 std::deque<LoadBalancingFeedbackRecord> feedback_records_; variable