aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/qps/server_async.cc
diff options
context:
space:
mode:
authorGravatar Yuxuan Li <yuxuanli@google.com>2017-05-03 23:29:17 -0700
committerGravatar Yuxuan Li <yuxuanli@google.com>2017-05-03 23:29:17 -0700
commitf8365cd87b5e76dbc050c0c2647e2875a07bca68 (patch)
tree753ea2aa7bab0246be5712e43e1e4d00632abe43 /test/cpp/qps/server_async.cc
parent28efff3e1e3d969f343bd1075039ce25d7834682 (diff)
clean up, fix minor issue
Diffstat (limited to 'test/cpp/qps/server_async.cc')
-rw-r--r--test/cpp/qps/server_async.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/test/cpp/qps/server_async.cc b/test/cpp/qps/server_async.cc
index 4bd7af3d2d..7d00cb33dc 100644
--- a/test/cpp/qps/server_async.cc
+++ b/test/cpp/qps/server_async.cc
@@ -160,11 +160,8 @@ class AsyncQpsServerTest final : public grpc::testing::Server {
int GetPollCount() {
int count = 0;
- // int i = 0;
for (auto cq = srv_cqs_.begin(); cq != srv_cqs_.end(); cq++) {
- int k = (int)grpc_get_cq_poll_num((*cq)->cq());
- // gpr_log(GPR_INFO, "%d: per cq poll:%d", i++, k);
- count += k;
+ count += (int)grpc_get_cq_poll_num((*cq)->cq());
}
return count;
}