Lines Matching refs:success
79 bool* success) { in RunAndReport() argument
101 for (int i = 0; *success && i < result->client_success_size(); i++) { in RunAndReport()
102 *success = result->client_success(i); in RunAndReport()
104 for (int i = 0; *success && i < result->server_success_size(); i++) { in RunAndReport()
105 *success = result->server_success(i); in RunAndReport()
119 bool* success) { in GetCpuLoad() argument
124 auto result = RunAndReport(*scenario, success); in GetCpuLoad()
129 double low, double high, bool* success) { in BinarySearch() argument
132 double current_cpu_load = GetCpuLoad(scenario, mid, success); in BinarySearch()
134 if (!*success) { in BinarySearch()
150 bool* success) { in SearchOfferedLoad() argument
153 double current_cpu_load = GetCpuLoad(scenario, current_offered_load, success); in SearchOfferedLoad()
159 while (*success && (current_cpu_load < targeted_cpu_load)) { in SearchOfferedLoad()
161 current_cpu_load = GetCpuLoad(scenario, current_offered_load, success); in SearchOfferedLoad()
168 current_offered_load, success); in SearchOfferedLoad()
207 bool success = true; in QpsDriver() local
215 RunAndReport(scenario, &success); in QpsDriver()
221 FLAGS_targeted_cpu_load, scenario, &success); in QpsDriver()
223 GetCpuLoad(scenario, targeted_offered_load, &success); in QpsDriver()
229 return success; in QpsDriver()