aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/qps/worker.cc
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-03-03 16:04:23 -0800
committerGravatar Craig Tiller <ctiller@google.com>2015-03-03 16:04:23 -0800
commit76877c3f6612f9c19103ce0d3273952d7f1f0350 (patch)
treef5505f01e3a644d582c77a3d28490f9ff664fc5a /test/cpp/qps/worker.cc
parenta8672573b8c40b36d901a46549f87734ab81815b (diff)
Generate latencies in driver
Diffstat (limited to 'test/cpp/qps/worker.cc')
-rw-r--r--test/cpp/qps/worker.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/cpp/qps/worker.cc b/test/cpp/qps/worker.cc
index 1279afc18c..b5dbc1570d 100644
--- a/test/cpp/qps/worker.cc
+++ b/test/cpp/qps/worker.cc
@@ -169,6 +169,7 @@ class WorkerImpl final : public Worker::Service {
}
private:
+ // Protect against multiple clients using this worker at once.
class InstanceGuard {
public:
InstanceGuard(WorkerImpl* impl)