Searched refs:cpu_limit (Results 1 – 2 of 2) sorted by relevance
257 (newest->cpu_limit == 0 || oldest->cpu_limit == 0)) { in GenerateLoadBalancingFeedback()260 if (newest->cpu_limit == 0) --newest; in GenerateLoadBalancingFeedback()261 if (oldest->cpu_limit == 0) ++oldest; in GenerateLoadBalancingFeedback()265 newest->cpu_limit == oldest->cpu_limit) { in GenerateLoadBalancingFeedback()277 double cpu_limit = newest->cpu_limit - oldest->cpu_limit; in GenerateLoadBalancingFeedback() local282 feedback.set_server_utilization(static_cast<float>(cpu_usage / cpu_limit)); in GenerateLoadBalancingFeedback()
176 uint64_t cpu_limit; member180 uint64_t errors, uint64_t cpu_usage, uint64_t cpu_limit) in LoadBalancingFeedbackRecord()185 cpu_limit(cpu_limit) {} in LoadBalancingFeedbackRecord()