aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp/qps/client.h
diff options
context:
space:
mode:
authorGravatar yang-g <yangg@google.com>2016-04-20 16:38:26 -0700
committerGravatar yang-g <yangg@google.com>2016-04-20 16:38:26 -0700
commite2914023068da2ded0f825cd1790b1c70f14e0a5 (patch)
treeabbade79a6e2b15dbe3748129d80ab3c18b19b9d /test/cpp/qps/client.h
parent25df28ef75ba99e5d16743be7310c2920ddd8a32 (diff)
parent2aec20120020741ee64fcd22042c2e56d4cf0a5b (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.h14
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);
}