diff options
author | yang-g <yangg@google.com> | 2016-04-20 16:38:26 -0700 |
---|---|---|
committer | yang-g <yangg@google.com> | 2016-04-20 16:38:26 -0700 |
commit | e2914023068da2ded0f825cd1790b1c70f14e0a5 (patch) | |
tree | abbade79a6e2b15dbe3748129d80ab3c18b19b9d /test/cpp/qps/client.h | |
parent | 25df28ef75ba99e5d16743be7310c2920ddd8a32 (diff) | |
parent | 2aec20120020741ee64fcd22042c2e56d4cf0a5b (diff) |
Merge remote-tracking branch 'upstream/master' into proto_comments
Diffstat (limited to 'test/cpp/qps/client.h')
-rw-r--r-- | test/cpp/qps/client.h | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/test/cpp/qps/client.h b/test/cpp/qps/client.h index e958141d4e..5a9027a4a2 100644 --- a/test/cpp/qps/client.h +++ b/test/cpp/qps/client.h @@ -173,20 +173,6 @@ class Client { random_dist.reset( new ExpDist(load.poisson().offered_load() / num_threads)); break; - case LoadParams::kUniform: - random_dist.reset( - new UniformDist(load.uniform().interarrival_lo() * num_threads, - load.uniform().interarrival_hi() * num_threads)); - break; - case LoadParams::kDeterm: - random_dist.reset( - new DetDist(num_threads / load.determ().offered_load())); - break; - case LoadParams::kPareto: - random_dist.reset( - new ParetoDist(load.pareto().interarrival_base() * num_threads, - load.pareto().alpha())); - break; default: GPR_ASSERT(false); } |