diff options
author | Yuxuan Li <yuxuanli@google.com> | 2017-05-08 11:36:07 -0700 |
---|---|---|
committer | Yuxuan Li <yuxuanli@google.com> | 2017-05-08 11:36:07 -0700 |
commit | 57e12b1786aa21fadc11704d84db66e38c480453 (patch) | |
tree | db2684a6e392977ed3ef96746dd28f04ce0bea44 /test/cpp | |
parent | a7f7fcf94ac4d32152ef7fdd8e558e18393e1706 (diff) | |
parent | 85d3a539053d6960473bc78a2818d94b7953c197 (diff) |
Merge branch 'poll_stat' of github.com:lyuxuan/grpc into poll_stat
Diffstat (limited to 'test/cpp')
-rw-r--r-- | test/cpp/qps/client_async.cc | 2 | ||||
-rw-r--r-- | test/cpp/qps/server_async.cc | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/test/cpp/qps/client_async.cc b/test/cpp/qps/client_async.cc index 3aa8268311..b94302d2f4 100644 --- a/test/cpp/qps/client_async.cc +++ b/test/cpp/qps/client_async.cc @@ -208,7 +208,7 @@ class AsyncClient : public ClientImpl<StubType, RequestType> { int GetPollCount() override { int count = 0; for (auto cq = cli_cqs_.begin(); cq != cli_cqs_.end(); cq++) { - count += (int)grpc_get_cq_poll_num((*cq)->cq()); + count += grpc_get_cq_poll_num((*cq)->cq()); } return count; } diff --git a/test/cpp/qps/server_async.cc b/test/cpp/qps/server_async.cc index 952b334119..3403ffd326 100644 --- a/test/cpp/qps/server_async.cc +++ b/test/cpp/qps/server_async.cc @@ -189,7 +189,7 @@ class AsyncQpsServerTest final : public grpc::testing::Server { int GetPollCount() override { int count = 0; for (auto cq = srv_cqs_.begin(); cq != srv_cqs_.end(); cq++) { - count += (int)grpc_get_cq_poll_num((*cq)->cq()); + count += grpc_get_cq_poll_num((*cq)->cq()); } return count; } |