diff --git a/test/cpp/qps/driver.cc b/test/cpp/qps/driver.cc index 5a523c55ab6..72b2e58180b 100644 --- a/test/cpp/qps/driver.cc +++ b/test/cpp/qps/driver.cc @@ -153,9 +153,7 @@ static void postprocess_scenario_result(ScenarioResult* result) { 100 - 100 * average(result->server_stats(), ServerIdleCpuTime) / average(result->server_stats(), ServerTotalCpuTime); - gpr_log(GPR_INFO, "total cpu: %.1f, idle cpu: %.1f", - average(result->server_stats(), ServerTotalCpuTime), - average(result->server_stats(), ServerIdleCpuTime)); + auto client_system_time = 100.0 * sum(result->client_stats(), SystemTime) / sum(result->client_stats(), WallTime); auto client_user_time = 100.0 * sum(result->client_stats(), UserTime) / diff --git a/test/cpp/qps/qps_json_driver.cc b/test/cpp/qps/qps_json_driver.cc index 0f21466d6be..5ac0bae8774 100644 --- a/test/cpp/qps/qps_json_driver.cc +++ b/test/cpp/qps/qps_json_driver.cc @@ -46,19 +46,13 @@ DEFINE_string(scenarios_file, "", "JSON file containing an array of Scenario objects"); - DEFINE_string(scenarios_json, "", "JSON string containing an array of Scenario objects"); - DEFINE_bool(quit, false, "Quit the workers"); - DEFINE_bool(search, false, "Search for offered load setting that achieves targeted cpu load"); - DEFINE_double(initial_offered_load, 1000.0, "Set up for intial offered load"); - DEFINE_double(targeted_cpu_load, 99.0, "targeted cpu load"); - DEFINE_double(precision, 500, "final search result precision"); namespace grpc { diff --git a/test/cpp/util/benchmark_config.cc b/test/cpp/util/benchmark_config.cc index ed06f11f8ba..6fc864069ef 100644 --- a/test/cpp/util/benchmark_config.cc +++ b/test/cpp/util/benchmark_config.cc @@ -51,8 +51,6 @@ DEFINE_string(server_address, "localhost:50052", DEFINE_string(tag, "", "Optional tag for the test"); - - // In some distros, gflags is in the namespace google, and in some others, // in gflags. This hack is enabling us to find both. namespace google {}