diff options
author | Craig Tiller <ctiller@google.com> | 2016-05-31 13:04:32 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2016-05-31 13:04:32 -0700 |
commit | 1adb13143f21a54a3e3d7018d0db4d15d78c1adc (patch) | |
tree | 6c905c1db80e43652598ae9a3a2b245083d16df4 /test/cpp/qps | |
parent | dbd03b5e2d97f869089b2165edd2c419101b1c83 (diff) |
Add comment
Diffstat (limited to 'test/cpp/qps')
-rw-r--r-- | test/cpp/qps/driver.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/test/cpp/qps/driver.cc b/test/cpp/qps/driver.cc index da47a985b8..147c540840 100644 --- a/test/cpp/qps/driver.cc +++ b/test/cpp/qps/driver.cc @@ -342,6 +342,8 @@ std::unique_ptr<ScenarioResult> RunScenario( } } + // Reduce channel count so that total channels specified is held regardless + // of the number of clients available size_t num_channels = (i == num_clients - 1) ? channels_allocated - client_config.client_channels() |