From 8edf0dd0c8fa76a320b135ec36c2345d98a91c4d Mon Sep 17 00:00:00 2001 From: Na-Na Pang Date: Fri, 25 Oct 2019 11:56:27 -0700 Subject: [PATCH] clang format --- test/cpp/qps/driver.cc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/test/cpp/qps/driver.cc b/test/cpp/qps/driver.cc index 69f6fd0c959..2ca0c081e4c 100644 --- a/test/cpp/qps/driver.cc +++ b/test/cpp/qps/driver.cc @@ -479,8 +479,7 @@ std::unique_ptr RunScenario( } } - // Collect the client final run results before finish server - // otherwise, we will include client shutdown process in benchmark results + // Collect the client final run results after clients stop sending new rpcs for (size_t i = 0; i < num_clients; i++) { auto client = &clients[i]; // Read the client final status @@ -512,8 +511,7 @@ std::unique_ptr RunScenario( } } - // Collect the server final run results before checking client status - // otherwise, we will wait for the benchmark + // Collect the server final run results after servers stop receiving rpcs for (size_t i = 0; i < num_servers; i++) { auto server = &servers[i]; // Read the server final status @@ -527,7 +525,7 @@ std::unique_ptr RunScenario( gpr_log(GPR_ERROR, "Couldn't get final status from server %zu", i); } } - + // Get final rpc status from clients for (size_t i = 0; i < num_clients; i++) { auto client = &clients[i]; @@ -542,7 +540,7 @@ std::unique_ptr RunScenario( s.error_message().c_str()); } } - + // Get final rpc status from servers for (size_t i = 0; i < num_servers; i++) { auto server = &servers[i];