diff options
author | Noah Eisen <ncteisen@gmail.com> | 2017-08-02 17:53:03 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-02 17:53:03 -0700 |
commit | 04034515e28fc7780427f9cf87fbe1496b7ec810 (patch) | |
tree | a54f02de4dc0d490b0fcca727c9c3dfd22525d43 /test | |
parent | 62b9a8c895e0687ab1e72ee3f644d6e145d68b81 (diff) | |
parent | af313caab835487c6548eaa015c2d591f6afc051 (diff) |
Merge pull request #12047 from ncteisen/qps-changes
QPS Driver Tweaks
Diffstat (limited to 'test')
-rw-r--r-- | test/cpp/qps/client_async.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/cpp/qps/client_async.cc b/test/cpp/qps/client_async.cc index f7dda0f758..265f174cc5 100644 --- a/test/cpp/qps/client_async.cc +++ b/test/cpp/qps/client_async.cc @@ -120,7 +120,7 @@ class ClientRpcContextUnaryImpl : public ClientRpcContext { BenchmarkService::Stub* stub_; CompletionQueue* cq_; std::unique_ptr<Alarm> alarm_; - RequestType req_; + const RequestType& req_; ResponseType response_; enum State { INVALID, READY, RESP_DONE }; State next_state_; @@ -415,7 +415,7 @@ class ClientRpcContextStreamingPingPongImpl : public ClientRpcContext { BenchmarkService::Stub* stub_; CompletionQueue* cq_; std::unique_ptr<Alarm> alarm_; - RequestType req_; + const RequestType& req_; ResponseType response_; enum State { INVALID, @@ -554,7 +554,7 @@ class ClientRpcContextStreamingFromClientImpl : public ClientRpcContext { BenchmarkService::Stub* stub_; CompletionQueue* cq_; std::unique_ptr<Alarm> alarm_; - RequestType req_; + const RequestType& req_; ResponseType response_; enum State { INVALID, @@ -672,7 +672,7 @@ class ClientRpcContextStreamingFromServerImpl : public ClientRpcContext { BenchmarkService::Stub* stub_; CompletionQueue* cq_; std::unique_ptr<Alarm> alarm_; - RequestType req_; + const RequestType& req_; ResponseType response_; enum State { INVALID, STREAM_IDLE, READ_DONE }; State next_state_; |