Searched refs:cpu_limit (Results 1 – 2 of 2) sorted by relevance
259 (newest->cpu_limit == 0 || oldest->cpu_limit == 0)) { in GenerateLoadBalancingFeedback()262 if (newest->cpu_limit == 0) --newest; in GenerateLoadBalancingFeedback()263 if (oldest->cpu_limit == 0) ++oldest; in GenerateLoadBalancingFeedback()267 newest->cpu_limit == oldest->cpu_limit) { in GenerateLoadBalancingFeedback()279 double cpu_limit = newest->cpu_limit - oldest->cpu_limit; in GenerateLoadBalancingFeedback() local284 feedback.set_server_utilization(static_cast<float>(cpu_usage / cpu_limit)); in GenerateLoadBalancingFeedback()
178 uint64_t cpu_limit; member182 uint64_t errors, uint64_t cpu_usage, uint64_t cpu_limit) in LoadBalancingFeedbackRecord()187 cpu_limit(cpu_limit) {} in LoadBalancingFeedbackRecord()