pull/11000/head
Yuxuan Li 8 years ago
parent f8365cd87b
commit 5f9f37a33c
  1. 5
      test/cpp/qps/driver.cc

@ -182,12 +182,9 @@ static void postprocess_scenario_result(ScenarioResult* result) {
result->mutable_summary()->set_failed_requests_per_second(failures / result->mutable_summary()->set_failed_requests_per_second(failures /
time_estimate); time_estimate);
} }
gpr_log(GPR_INFO, "client poll count : %f",
sum(result->client_stats(), CliPollCount));
result->mutable_summary()->set_client_polls_per_request( result->mutable_summary()->set_client_polls_per_request(
sum(result->client_stats(), CliPollCount) / histogram.Count()); sum(result->client_stats(), CliPollCount) / histogram.Count());
gpr_log(GPR_INFO, "server poll count : %f",
sum(result->server_stats(), SvrPollCount));
result->mutable_summary()->set_server_polls_per_request( result->mutable_summary()->set_server_polls_per_request(
sum(result->server_stats(), SvrPollCount) / histogram.Count()); sum(result->server_stats(), SvrPollCount) / histogram.Count());
} }

Loading…
Cancel
Save